TIL the @trakt API does not fully conform with RFC 8628, which expects the device token request to have the field "device_code", but the trakt.tv API expects a field named "code".
This is as far as I can tell the one and only reason I can't take the off-the-shelf #httr2 OAuth implementation and probably will have to kajigger the token stuff manually, which I hate π
(Or I just keep my old #httr version which is "good enough" I guess)
#RStats
Halleluja! Dan Snyder has finally sold the Washington Commanders! I was waiting for this for soooooo long!
I hope this is a change for the better.
I thought I'd give #httr2 another go, but I still have no idea how to make an authenticated request to the trakt.tv API.
I still think it can't be *that* hard and I don't think the trakt API is *that* weird, but I have no idea whether it's just me not knowing what I'm doing or #httr2 maybe making assumptions that don't hold for this particular API or... Idunno. I guess I'll just leave my old-but-working #httr code in and call it good enough Β―\_(γ)_/Β―
Recognizing #httr chant was racist and written by a billionaire estate who owes reparations to Oceti people, I recognize the tomahawk chop as a hateful gimmick of corporations. Keep this in mind with #dechief and current efforts of #changethename. https://www.patreon.com/posts/jan-15-2014-fil-70387276
@lf_araujo yah men's bball is the best sports ticket in town ... VCU plays at the Siegel Center on Broad street by the Lowe's. There are no tier 1 (NBA / NHL / NFL) pro teams in the state of #virginia so ppl either follow DC sports ( #washingtonwizards / #dcaboveAll / #httr / #commanders / #takecommand / #nats ) or choose something with no #blackout games #ncambb #letsgoVCU
#virginia #washingtonwizards #dcaboveall #httr #commanders #takecommand #nats #blackout #ncambb #letsgovcu
Old enough to remember the #Eagles and #Cardinals being perennial bottom dwellers of the #NFCEast.
#Commanders #HTTC #Redskins #HTTR #Giants #Cowboys #NFL #GenX #GetOffMyLawn
#getoffmylawn #genx #NFL #cowboys #giants #httr #redskins #HTTC #commanders #NFCEast #cardinals #eagles
Do you like to make maps like me or do you want to learn how to make them? I found some tutorials for those interested in making beautiful maps using R. They are free access and very understandable.
#R #Rcoding #ggplot2 #codingisfun #tidyverse #terra #osmdata #httr #XML #codinglife #giscoR #metr #elevatr #sundaymood
#r #rcoding #ggplot2 #codingisfun #Tidyverse #terra #OSMData #httr #xml #codinglife #giscor #metr #elevatr #sundaymood
I wasted so much time on trying to figure out using the #OCLC #API for a Shiny app because of poor documentation in both #httr and the API.
I mean, I did learn stuff in the process, and I knew close to nothing before starting, and I was over the moon once I got an access token back, but no one needs to spend so much time just trying things are random until it works.
Documentation is so important! Document everything!!
Looking forward to testing #httr2, it should really improve things. #RStats
#rstats #httr2 #httr #api #OCLC
Playing with the Mastodon #API with #Rstats : fetching JSON data (users and instances count) from https://instances.mastodon.xyz/ with #httr, generating the plot with #ggplot2 and uploading the image + tooting it using the API. It works !...
Get the code
https://pastebin.com/XBiJmbNV