pycoingecko icon indicating copy to clipboard operation
pycoingecko copied to clipboard

ValueError: {'error': 'invalid date'}

Open miaga-engineering opened this issue 2 years ago • 1 comments

I have passed a string date as in '2022-01-01' and a date time object, none of them works.

miaga-engineering avatar Dec 06 '22 16:12 miaga-engineering

should be a unix timestamp in seconds. see https://www.coingecko.com/en/api/documentation

willb0 avatar Feb 18 '23 17:02 willb0