2 ms·
Confession time: I'm somewhat of an accomplice in this unspeakable evil. I maintain the (unofficial but widely used) Pinboard API client library for PHP. Until
by kijin 12y ago
Confession time: I'm somewhat of an accomplice in this unspeakable evil.
I maintain the (unofficial but widely used) Pinboard API client library for PHP. Until recently, it only supported password authentication. Development had all but ground to a halt in the last couple of years, partly because the API itself hasn't changed at all since 2012, and partly because I didn't want to spend any more time on API v1 when API v2 might hit production anytime, but mostly because I just forgot.
As a result, web services written in PHP are probably more likely to use password auth with Pinboard than those written in other languages. Sorry, @idlewords!
But thanks to an enthusiastic contributor who appeared out of nowhere and chastised me for slacking off, the PHP client library has now gained most of the features that it had been missing for years, including token auth. Even better, the API allows you to get a user's token given his username and password, so you can easily convert your existing database to tokens without any user interaction.
- idlewords 12y agoNo apologies needed. I'm the one who's been procrastinating a proper API update. Hats off to enthusiastic contributors who shake us out of our torpor!