fitbitScraper icon indicating copy to clipboard operation
fitbitScraper copied to clipboard

get_premium_export does't recognize premium subscription

Open missleigh opened this issue 8 years ago • 3 comments

Thanks so much for this great package! Infinitely better than suffering their export process.

I have a premium subscription to fitbit and am having an issue with get_premium_export. When I run:

get_premium_export(cookie, what = "ACTIVITIES", start_date = "2015-01-13", end_date = "2015-01-20")

I get the error:

Error in get_premium_export(cookie, what = "ACTIVITIES", start_date = "2015-01-13",  : 
  problem with request, this may be available only for premium subscribers

I've logged into the site and confirmed that my premium subscription is active. I re-created the cookie variable and am still getting the error.

Is there anything else I can check? Is this still working for you/someone else?

Thanks in advance, Leigh

missleigh avatar Apr 05 '17 19:04 missleigh

So, I've never had a premium subscription, but when I made the R package a couple years ago, my credentials worked to download premium stuff. I suppose they've closed this loophole, so now I have no way to test or develop this any more since I'm not using a documented API.

corynissen avatar Apr 05 '17 19:04 corynissen

Hi Cory, Thanks for replying on this. If you're interested/willing to explore developing this feature I would give you my credentials to test against. I'd love to have access to the data. If not, I understand and thank you again for your contribution.

missleigh avatar Apr 15 '17 04:04 missleigh

I'll take you up on that offer, but in a week or two...

Thanks

Cory

corynissen avatar Apr 19 '17 12:04 corynissen