I've been working on some projects that'll interact with the Weasyl API and thought I'd share it as a package for other developers to use.
See more at my github!
We interact with websites like Weasyl in a way that humans can understand, but is hard for software that isn't running on the same website to interact with. An API (Application Programming Interface) offers a way for programs to interact with other programs in a way that's easier for programs to deal with.
What I've done is take the web API that Weasyl offers and wrote a module that makes it easy to use in the Python programming language. So anyone who wants to write software that uses Weasyl's data can do so easily from python, without having to worry about the specifics of how Weasyl's API works.
To give you an idea, to find out how many notifications a user has without pyweasyl, it would take about 30 lines of code to deal with sending the request, handling errors, parsing the response, so on... but with pyweasyl, it'd just be:
api = Weasyl()
api.message_summary()
And that's it! Much shorter than having to deal with the requests yourself. (I hope that made sense D:)
I wonder if we can get IFFT working with Weasyl. Especially handy for like... a push notification when your favorite artist starts streaming perhaps?
Link
sirkain
What all will it do, in layman's terms for the non programming minded?