Skip to content

CoinpaprikaAPI is a python package that allows for easy access to CoinPaprika's API.

License

Notifications You must be signed in to change notification settings

CoinQuanta/coinpaprikaAPI-py

Repository files navigation

coinpaprikaAPI-py: The Python Coinpaprika API Wrapper

https://readthedocs.org/projects/coinpaprikaapi-py/badge/?version=latest:target:https://coinpaprikaapi-py.readthedocs.io/en/latest/?badge=latest:alt:DocumentationStatus

coinpaprikaAPI-py is a python package that provides simple access to CoinPaprika's API. CoinpaprikaAPI-py aims to be easy to use and follows all of all of Coinpaprika's rules and limitations. With CoinpaprikaAPI-py there's no need to use sleep statements or implement rate limit decorators, the package does it all for you.

What can you do with this API?

  • Fetch a list of all cryptocoins.
  • Fetch detailed data of a cryptocoin.
  • Fetch the twitter timeline of a cryptocoin.
  • Fetch coin events for a specific cryptocoin.
  • Fetch all markets a cryptocoin is listed on.
  • Fetch market data for a cryptocoin.
  • Fetch daily/historical OHLC data.
  • Fetch associated tags for a cryptocoin.
  • Fetch all cryptocoin tickers.
  • Fetch cryptocurrency exchange data.
  • Search the Coinpaprika API.
  • Convert fiat currency and cryptocurrency and vice versa.

... and more!

Installation

CoinpaprikaAPI-py is supported on python3.4, 3.5, 3.6 and 3.7. The recommended and quickest way to install CoinpaprikaAPI-py is through pip.

pip install coinpaprikaAPI-py

Alternatively, you can clone the repository and run setup.py.

git clone https://github.com/CoinQuanta/coinpaprikaAPI-py
cd coinpaprikaAPI-py && python setup.py install

Quickstart

You can instantiate an instance of CoinpaprikaAPI-py like so:

import coinpaprikaAPI
coinpaprika = coinpaprikaAPI.Coinpaprika()

Using the coinpaprika instance, you can then interact with Coinpaprika's API:

# Get all coins
all_coins = coinpaprika.coins()

# Get coin by ID
bitcoin_data = coinpaprika.coin("btc-bitcoin")

# Get tickers for all coins
all_coin_tickers = coinpaprika.tickers(quotes="USD,BTC")

# Get ticker by ID
bitcoin_ticker_data = coinpaprika.ticker("btc-bitcoin")

# Get all exchanges
all_exchanges = coinpaprika.exchanges()

# Get exchange by ID
binance_exchange_data = coinpaprika.exchange("binance")

Please see CoinpaprikaAPI-py's documentation for more examples of what you can do with CoinpaprikaAPI-py.

Documentation

CoinpaprikaAPI-py's documentation is located at https://coinpaprikaAPI-py.readthedocs.io/.

License

CoinpaprikaAPI-py's source is provided under the MIT License.

About

CoinpaprikaAPI is a python package that allows for easy access to CoinPaprika's API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published