01-17-2018 10:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-17-2018 10:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I typically collect data daily, two API requests (one for food and another for steps) per user.
However, I now need to recollect the data back to April 2017. The gem I am using is somewhat older and only pulls data for a specific day, not a range of dates. Hence, I need to call the API a bunch (275 days * 105 users * 2 API endpoints ) = 60K calls.
Can I have the API limit relaxed for a short period to make these calls?
And oddly, even though I typically make 200ish calls per day, I've never seen an issue with throttling. Now, when I try to run the data collection even for one user, I quickly bump into the limit. I am not sure why my daily code never hits a limit. Maybe its just slow enough to not raise any alarms?
01-18-2018 10:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-18-2018 10:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
If your getting it for one day, adding another date to the url to make a range isnt to hard.
You could also add /max.json after your date and that would return roughly 1094 results from said date which would save 1093 calls.

