Show off your snoovatar

01 March 2015

In the latest edition of “Features Nobody Requested”, I am happy to announce that now displays your snoovatar (if you have gold and have set one up)! It looks like this:

SnoopSnoo now shows snoovatars!

As far as I know, reddit doesn’t give you access to snoovatars via the API and it’s not a matter of simply scraping a static image from your snoovatar page either, because it’s dynamically constructed using JavaScript and Canvas. So I wrote some simple code to generate it myself using the Python Imaging Library. If you come across any issues, please let me know.

The code is available as a Blockspring function if you’re interested — just enter your username and run the function to generate your snoovatar in PNG format. To use it in your own app, sign up for Blockspring and use your API key to call the function — they make it ridiculously simple to integrate APIs like these in your apps, check them out!

blog comments powered by Disqus