R code for Premium API (GitHub link)

r
premium

#1

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.


#2

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


#3

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.