Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Reminds me of Tableau.
Their API gave user ID but not username.
At the time I used their API, there was no way to translate user ID to user name.
Ended up just saving the username they input in the login form and displaying it in all caps. -
alert2504y@AlgoRythm that's exactly what I have to do
But the thing is that this is my main API so I have to download the db locally -
@alert because of your name honestly when I read the notification "alert mentioned you in a comment" I thought someone was testing their bot on me.
Related Rants
Fuck this
I get to work with API where you CAN authenticate with username/password and get a token
But you CAN'T get user info from token (auth response contains ONLY token)
So what I have to do:
1. Get token
2. Request ALL FUCKING USERS and load them into my DB
3. Search through local DB by username and, yeah, here I go
Now I need to have a cron job to update user DB 1/2 times per day
I can't think of ANY reason not to allow this
rant
api
authentication