s0h3ck / coinpaprika-api-python-client

This library provides convenient way to use Coinpaprika.com API in Python.
https://api.coinpaprika.com/
MIT License
31 stars 10 forks source link

Historical not working #5

Closed SudheendraSoftionik closed 2 years ago

SudheendraSoftionik commented 3 years ago

Hi,

In below code I am requesting data from 18th july but in API it's giving data from 29th july. Why it is giving like that?

from coinpaprika import client as Coinpaprika client = Coinpaprika.Client() range_between_ticker_data = client.historical('cope-cope',start='2021-07-18T21:32:00Z',end='2021-08-05T09:14:56Z',interval='30m') print(range_between_ticker_data)

s0h3ck commented 3 years ago

Hi SudheendraSoftionik, it is likely because coinpaprika does not have the historical data before July 29th. Coinpaprika Team is probably scraping data from other sources or have not yet filled the historical data for this coin. Please understand that coinpaprika-api-python-client is only a wrapper to interact with coinpaprika API. Thanks!