The documentation is at https://developers.coinbase.com/api/v2. You can make GET requests in R using the httr packge.
--Ista On Fri, Jun 1, 2018 at 11:12 AM, Christofer Bogaso <bogaso.christo...@gmail.com> wrote: > Thanks for that information. > > However how can I use R to directly get data from that API? > > On Fri, Jun 1, 2018 at 8:36 PM Martin Møller Skarbiniks Pedersen < > traxpla...@gmail.com> wrote: > >> On 1 June 2018 at 15:08, Christofer Bogaso <bogaso.christo...@gmail.com> >> wrote: >> > Hi again, >> > >> > I use the *webshot* package to take snapshot from Webpage. However, when >> I >> > try to take snapshot from* https://www.coinbase.com/ >> > <https://www.coinbase.com/>*, this fails to take the full snapshot of >> that >> > page. >> >> Yes, that is a general problem with many webshot programs and libraries. >> >> The coinbase page ( and many others ) uses a lot of javascript to generate >> their >> pages and the webshot programs must understand javascript in all >> details which is hard. >> >> If you are looking for the coinbase prices you can use their api to >> get json instead: >> >> https://api.coinbase.com/v2/prices/spot?currency=USD >> >> Regards >> Martin >> >> ______________________________________________ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.