R code for Premium API (GitHub link)



I saw that a lot of people have been searching for code to connect with the Premium API, so here it goes my take on that. It’s a bit clunky but it should work for now.

Feel free to let me know if you have any questions. The authentication side was borrowed from someone who had a similar question not that long ago. I just adjusted it and adapted it.


This is great and I’m sure it will be helpful to others - thank you for sharing!


As soon as I have some more time I’ll try to create a function or package to make this entire process easier. But I think it’s quite simple for now.