santiment / sanpy

Santiment API Python Client
MIT License
96 stars 29 forks source link

Adding api call remainder function #136

Closed spiderjako closed 3 years ago

spiderjako commented 3 years ago
Adding a function for returning a list of API calls made by date: ```py > san.api_calls_made() [ ('2021-11-19T00:00:00Z', 1), ('2021-11-22T00:00:00Z', 2), ('2021-11-23T00:00:00Z', 3) ] ``` ... and a function to return a dict of remaining API calls: ```py > san.api_calls_remaining() { 'month_remaining': '1000', 'hour_remaining': '500', 'minute_remaining': '100' } ```
IvanIvanoff commented 3 years ago

Can we also have a function that returns how many calls are left until rate limits are applied?