Edit: Though looking at the site it again it only lists it as "command-line tool and API" instead of "Python wrapper" like all of the rest. Seems odd on a page dedicated to Python API wrappers.
Re:Python API
by aidos on Monday September 09, 2013 @07:08AM
(#6352717)
It's interesting to see how differently these are all implemented. I guess it depends on what's at the other side of the api and how much work the developer wants to put in to data conversion.
When you flick through the first few examples you see that the result from querying a lib could be a nested dict, a bunch of objects or an lxml.etree. Every time you approach a new api, even with the help of a library so you don't have to deal with the transport, you still need to learn a unique set of data structures.
Re:Python API
by smailq on Monday September 09, 2013 @09:06AM
(#6353163)
At Cosmic(http://www.cosmic-api.com/), we are working toward making web APIs more consistent and easier to build/consume with higher level framework. We take care of transport work, as well as data structure work. The data structure work(https://github.com/cosmic-api/teleport.py) is similar to Thrift, Protobuf, Avro, etc but with more emphasis on 'information on web' rather than dealing with raw bytes.
Cosmic is trying to achieve similar goal as Docker, as we are trying to build a framework/tools/services which solves APIs X languages matrix(Slide 14 of http://www.slideshare.net/dotCloud/why-docker).
FYI, the project is still in very early design stage, any feedback is very appreciated.
Re:Python API
by zackmorris on Monday September 09, 2013 @09:39AM
(#6353336)
I always wanted a matrix of code in each language for accessing an API, the way that Rosetta Code shows examples for performing a calculation. I was shocked that there's no REST api category on rosettacode.org (although in fairness there's no http either):
Re:Python API
by cmyr on Monday September 09, 2013 @12:30PM
(#6354408)
Seems like a shame that there is only one option listed for the various services. There are several good libraries for twitter, and at least ptt (http://mike.verdone.ca/twitter/) and tweepy (https://github.com/tweepy/tweepy) are better, imo, then the python-twitter wrapper linked here.
For the Tumblr API, the link to the client is for our v1 API which has been deprecated in favor of our v2 API.
We have an official python client that I work on when I get time here: https://github.com/tumblr/pytumblr, Though I know there are tons of other awesome wrappers for v2 out there.
Edit: Though looking at the site it again it only lists it as "command-line tool and API" instead of "Python wrapper" like all of the rest. Seems odd on a page dedicated to Python API wrappers.
When you flick through the first few examples you see that the result from querying a lib could be a nested dict, a bunch of objects or an lxml.etree. Every time you approach a new api, even with the help of a library so you don't have to deal with the transport, you still need to learn a unique set of data structures.
Cosmic is trying to achieve similar goal as Docker, as we are trying to build a framework/tools/services which solves APIs X languages matrix(Slide 14 of http://www.slideshare.net/dotCloud/why-docker).
FYI, the project is still in very early design stage, any feedback is very appreciated.
Like for Trello: https://bitbucket.org/btubbs/trollop
http://rosettacode.org/wiki/Rest
http://rosettacode.org/wiki/Rest_api
http://www.google.com/search?q=REST%20api%20site:rosettacode...
I would very much like a language-agnostic way to tie all of these APIs together!
You are missing the UPS API! (disclosure: I wrote this python library for it :)
https://github.com/classicspecs/ClassicUPS
[1] http://developer.echonest.com/
[2] http://echonest.github.io/pyechonest/
also, it would be nice if you would allow more than one wrapper per api.
Supports [2] various Google services (AdSense, Analytics, Calendar, YouTube etc etc)
[1]: https://developers.google.com/api-client-library/python/
[2]: https://developers.google.com/api-client-library/python/refe...
Although it's missing API's for Hacker News[0] and Fuck Off As A Service[1].
[0] https://github.com/dmpayton/python-ihackernews
[1] https://github.com/dmpayton/foaas-python
Missing Evernote API: http://dev.evernote.com/doc/
Documentation: https://semantics3.com/docs Our Python wrapper library: https://github.com/Semantics3/semantics3-python
*We are a replacement for the soon-to-be-shutdown Google Shopping API
We have an official python client that I work on when I get time here: https://github.com/tumblr/pytumblr, Though I know there are tons of other awesome wrappers for v2 out there.
Nice comprehensive list, Thanks!
Alas, you are missing Titshare