{ "info": { "author": "Taylor Facen", "author_email": "taylor.facen@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "# nomics-python\nA Python wrapper for the [Nomics API](http://docs.nomics.com/)\n\n## Disclaimer\nAlthough the api call descriptions are from the official documentation, this is an unofficial API wrapper. \n\n## Contents\n* [Getting Started](#getting-started)\n* [Code Examples](#code-examples)\n* [Change Log](Changelog.md)\n\n## Getting Started\nBefore using the Nomics API, sign up for a free API key [here](https://p.nomics.com/cryptocurrency-bitcoin-api).\n\nEvery api call requires this api key. Make sure to use this key when getting started. \n```\nimport nomics\nnomics = nomics.Nomics(\"This-Is-A-Fake-Key-123\")\n```\n\n## Code Examples\nHere are a few calls that this package provides. For more detailed information, please see the associated Nomics API documentation. \n* [Currencies](#currencies)\n * get_currencies\n * get_metadata\n * get_sparkline\n* [ExchangeRates](#ExchangeRates)\n * get_exchange_rates\n * get_history\n * get_interval\n* [Markets](#markets)\n * get_markets\n* [Volume](#volume)\n * get_volume_history\n\n### Currencies\n[get_currencies](https://docs.nomics.com/#operation/getCurrenciesTicker) - Price, volume, market cap, and rank for all currencies across 1 hour, 1 day, 7 day, 30 day, 365 day, and year to date intervals. Current prices are updated every 10 seconds.\n\nInput\n\nOptional Parameters\n* ids: Comma separated list of Nomics Currency IDs to filter result rows.\n* interval: Comma separated time interval of the ticker(s). Default is 1d,7d,30d,365d,ytd\n* convert: Currency to quote ticker price, market cap, and volume values. May be a Fiat Currency or Cryptocurrency. Default is USD. \n* include-transparency: Whether to include Transparent Volume information for currencies. Default is false. Only available to paid API plans\n\n```\nnomics.Currencies.get_currencies(\n ids = [\"BTC\", \"ETH\"],\n interval = [\"1d\", \"ytd\"],\n convert = \"EUR\"\n)\n```\n\n[get_metadata](https://docs.nomics.com/#operation/getCurrencies) - The currencies endpoint returns all the currencies and their metadata that Nomics supports.\n\nInput\n\nOptional Parameters\n* ids: Comma separated list of Nomics Currency IDs to filter result rows.\n* attributes: Comma separated list of currency attributes to filter result columns\n\n```\nnomics.Currencies.get_metadata(\n ids = [\"BTC\", \"ETH\"],\n attributes = [\"id\", \"name\", \"logo_url\"]\n)\n```\n\n[get_sparkline](https://docs.nomics.com/#operation/getCurrenciesSparkline) - The currencies sparkline endpoint returns prices for all currencies within a customizable time interval suitable for sparkline charts.\n\nInput\n\nRequired Parameters\n* start: Start time of the interval in ISO or RFC3339 format\n\nOptional Parameters\n* end: End time of the interval in ISO or RFC3339 format\n\n```\nnomics.Currencies.get_sparkline(\n start = \"2018-04-14T00:00:00Z\",\n end = \"2018-06-14T00:00:00Z\"\n)\n```\n\n### ExchangeRates\n\n[get_exchange_rates](https://docs.nomics.com/#tag/Exchange-Rates) - The exchange rates endpoint returns the current exchange rates used by Nomics to convert prices from markets into USD. This contains Fiat currencies as well as a BTC and ETH quote prices.\n\n```\nnomics.ExchangeRates.get_exchange_rates()\n```\n\n[get_history](https://docs.nomics.com/#operation/getExchangeRatesHistory) - Exchange rates for every point in a time range. This endpoint can be used with other interval endpoints to convert values into a desired quote currency.\n\nInput\n\nRequired Parameters\n* currency: Currency ID\n* start: Start time of the interval in ISO or RFC3339 format\n\nOptional Parameters\n* end: End time of the interval in ISO or RFC3339 format\n\n```\nnomics.ExchangeRates.get_history(\n currency = \"ETH\",\n start = \"2018-04-14T00:00:00Z\",\n end = \"2018-06-14T00:00:00Z\"\n)\n```\n\n[get_interval](https://docs.nomics.com/#operation/getExchangeRatesInterval) - Exchange rates to convert from USD over a time interval.\n\nInput\n\nRequired Parameters\n* start: Start time of the interval in ISO or RFC3339 format\n\nOptional Parameters\n* end: End time of the interval in ISO or RFC3339 format\n\n```\nnomics.ExchangeRates.get_interval(\n start = \"2018-04-14T00:00:00Z\",\n end = \"2018-06-14T00:00:00Z\"\n)\n```\n\n### Markets\n\n[get_markets](https://docs.nomics.com/#operation/getMarkets) - The markets endpoint returns information on the exchanges and markets that Nomics supports, in addition to the Nomics currency identifiers for the base and quote currency.\n\nInput\n\nOptional Paramters\n* exchange: Nomics Exchange ID to filter by\n* base: Comma separated list of base currencies to filter by\n* quote: Comma separated list of quote currencies to filter by\n\n```\nnomics.Markets.get_markets(\n exchange = \"binance\",\n base = [\"BTC\", \"ETH\", \"LTC\"],\n quote = [\"BNB\"]\n)\n```\n\n[get_market_cap_history](https://docs.nomics.com/#operation/getMarketCapHistory) - MarketCap History is the total market cap for all cryptoassets at intervals between the requested time period.\n\nInput\n\nRequired Parameters\n* start: Start time of the interval in ISO or RFC3339 format\n\nOptional Parameters\n* end: End time of the interval in ISO or RFC3339 format\n\n```\nnomics.Markets.get_market_cap_history(\n start = \"2018-04-14T00:00:00Z\",\n end = \"2018-06-14T00:00:00Z\"\n)\n```\n\n### Volume\n[get_volume_history](https://docs.nomics.com/#operation/getVolumeHistory) - Volume History is the total volume for all cryptoassets in USD at intervals between the requested time period.\n\nInput\n\nOptional Parameters\n* start: Start time of the interval in ISO or RFC3339 format\n* end: End time of the interval in ISO or RFC3339 format\n\n```\nnomics.Volume.get_volume_history(\n start = \"2018-04-14T00:00:00Z\",\n end = \"2018-06-14T00:00:00Z\"\n)\n```\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/TaylorFacen/nomics-python", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "nomics-python", "package_url": "https://pypi.org/project/nomics-python/", "platform": "", "project_url": "https://pypi.org/project/nomics-python/", "project_urls": { "Homepage": "https://github.com/TaylorFacen/nomics-python" }, "release_url": "https://pypi.org/project/nomics-python/2.0.0/", "requires_dist": null, "requires_python": "", "summary": "A python wrapper for the Nomics API", "version": "2.0.0" }, "last_serial": 5833157, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "51eccccbdabc87474d443b7a058087c6", "sha256": "c4abfdd59a9d2e935a8f1300cf0f2cbc72f5e73bf3f1cfb5d45d42b54f7bc5c7" }, "downloads": -1, "filename": "nomics_python-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "51eccccbdabc87474d443b7a058087c6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6789, "upload_time": "2019-02-04T01:15:29", "url": "https://files.pythonhosted.org/packages/28/10/be250fb3f8b9e31871f872b92edbebc1932a6d96c56a4613b07661320b9e/nomics_python-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e7d1768e135ece62bdaaf1ee0a423893", "sha256": "cfa5db758e6d7b180b4362139d2f74624a86d424916e0842f254daccbf031e4e" }, "downloads": -1, "filename": "nomics-python-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e7d1768e135ece62bdaaf1ee0a423893", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4865, "upload_time": "2019-02-04T01:15:31", "url": "https://files.pythonhosted.org/packages/dc/63/c4b2ae9cb37b3102d0409c6027bc7c6090d479a94dd6e09083d657d245c6/nomics-python-1.0.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "1c8ca1d6f7c13e24ead4cb1372cd8fc1", "sha256": "d003ed7453855b8b09873ff95991ed7d50fc5e6e743424a2059c9e63c3a608e1" }, "downloads": -1, "filename": "nomics-python-1.1.1.tar.gz", "has_sig": false, "md5_digest": "1c8ca1d6f7c13e24ead4cb1372cd8fc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7080, "upload_time": "2019-02-23T13:53:06", "url": "https://files.pythonhosted.org/packages/6a/e7/7bfd3e3573b065ae3f4ffa4521a595fda8437b0d1be396dea029a72c8873/nomics-python-1.1.1.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "57c520a6d1080f3286690b0159920b53", "sha256": "01939709d211f64347e29de221cbbffce7cf35d19ba95df2db3f3f5fd6355dcf" }, "downloads": -1, "filename": "nomics_python-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "57c520a6d1080f3286690b0159920b53", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9905, "upload_time": "2019-09-15T22:38:55", "url": "https://files.pythonhosted.org/packages/c8/84/0f8d382f217ca5221d83f397f08383ca710256d469119930b50726753d70/nomics_python-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7084c1fc705b69d629811c1d4a88749f", "sha256": "bdfa99841ce95cd04dc63250968b07fcd367fe899d5d84abd235b74ed2b30a68" }, "downloads": -1, "filename": "nomics-python-2.0.0.tar.gz", "has_sig": false, "md5_digest": "7084c1fc705b69d629811c1d4a88749f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4948, "upload_time": "2019-09-15T22:38:57", "url": "https://files.pythonhosted.org/packages/32/e0/8354ea70cdb58db829defab6d33d8ac7cd8784c21501cc6692f4ce275424/nomics-python-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "57c520a6d1080f3286690b0159920b53", "sha256": "01939709d211f64347e29de221cbbffce7cf35d19ba95df2db3f3f5fd6355dcf" }, "downloads": -1, "filename": "nomics_python-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "57c520a6d1080f3286690b0159920b53", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9905, "upload_time": "2019-09-15T22:38:55", "url": "https://files.pythonhosted.org/packages/c8/84/0f8d382f217ca5221d83f397f08383ca710256d469119930b50726753d70/nomics_python-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7084c1fc705b69d629811c1d4a88749f", "sha256": "bdfa99841ce95cd04dc63250968b07fcd367fe899d5d84abd235b74ed2b30a68" }, "downloads": -1, "filename": "nomics-python-2.0.0.tar.gz", "has_sig": false, "md5_digest": "7084c1fc705b69d629811c1d4a88749f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4948, "upload_time": "2019-09-15T22:38:57", "url": "https://files.pythonhosted.org/packages/32/e0/8354ea70cdb58db829defab6d33d8ac7cd8784c21501cc6692f4ce275424/nomics-python-2.0.0.tar.gz" } ] }