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
-
github95487yThanks for sharing. I got to know about it a month back when I started to build a devrant API Wrapper in python.
I would add another interesting fact:
@dfox reused the rant model with slight modification to make the Collab and uses the same endpoint as rant to get a particular Collab and it's comments. So, whether you are opening up a rant or a Collab, it's using the same API. -
coolq48207y@github sorry mate, been busy lately, haven't been able to contribute to the project much 😪
-
github95487y@coolq no worries bro. I recently saw the gitter chats and sorry from my behalf too for not responding in time. I wasn't getting notified for the lobby activities.
Whenever, you have time feel free to read my replies in gitter and if you have further queries, do ask me. -
bioDan56227yHah @AlgoRythm , cool catch man!
I wonder if the themes are just css resources that needs to be loaded or something, then you can maybe hack out the black theme as well!
On another note, dfox and trogus should be grateful for the P.T. 😂 -
@trogus : Smarter than me..... I should change how it works by adding oauth token.
Ever wanted cheat codes to devRant? Well, that's weird. But here you go, I guess.
Since the avatars do not use any external assets (Such as images), all avatars are generated. To be friendly to people who want to make third-party devRant clients (such as devRantron), avatars are generated server-side, so that the assets don't need to be distributed, and third-party programmers don't need to work out rendering avatars.
But this allows you to cheat a little.
The devRant avatars API works like this: you request a really long URL from the API, specifying the IDs of each cosmetic item the user has active, and it returns a PNG file. But you don't need an auth token to generate an avatar (which makes sense), so the avatar API is essentially a sandbox you can play around with if you have the time and patience.
You can write a really good avatar previewer with this knowledge, and see your avatar with a white tiger, even if you don't have the ++s
rant