norden.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Moin! Dies ist die Mastodon-Instanz für Nordlichter, Schnacker und alles dazwischen. Folge dem Leuchtturm.

Administered by:

Server stats:

3.4K
active users

#httr2

0 posts0 participants0 posts today

The nice thing about having a hobby 📦 you've been working on off and on for literally ten years now is that you get to be in a forever-refactor and it's never done.

Yanked out and replaced it with successfully(ish) though, so that's nice.

Finally managed to fully migrate an API-wrapping 📦 to and I like it a lot, particularly for the easy caching.
Only issue is that I'm using a semi-homebrewed device flow which I don't know how to make work on GitHub actions, where providing $PKG_KEY isn't enough to authenticate 🥲

Any #RStats #httr2 users out there that might be able to help? I’ve a package that downloads files but seems to fail for some people and not others, github.com/adamhsparks/read.ab. It works for me on every computer I’ve tried physically, Mac or Windows, but not GitHub Actions. It also fails for @obrl_soil. Note that @obrl_soil is able to access and download the files using a browser but not the R package. Here’s a package check log github.com/ropensci/software-r.

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 OAuth implementation and probably will have to kajigger the token stuff manually, which I hate 🙃
(Or I just keep my old version which is "good enough" I guess)