News for hackers. Stuff that matters.
Re:Python API by cruise02 on Monday September 09, 2013 @09:29AM (#6353283)
This definitely could use a form to submit API wrappers. I used the contact form linked at the top to submit Stack.PY, a Python module for the Stack Exchange 2.1 API, which is available on Launchpad (https://launchpad.net/stackpy) and PyPI (https://pypi.python.org/pypi/stackpy). The SE API documentation is at https://api.stackexchange.com/docs
Re:Python API by mathattack on Monday September 09, 2013 @09:43AM (#6353363)
I think all the "You are missing X" comments suggest that the OP is on to something. Great idea!
Re:Python API by cruise02 on Monday September 09, 2013 @12:24PM (#6354379)
Yeah, those are definitely the kind of "complaints" that I like to see about my own apps. :)
Re:Python API by spilcm on Tuesday September 10, 2013 @04:50PM (#6363393)
I'm working on to create a "Submit API" form. The Stack Exchange API is added. Thanks!
Re:Python API by spilcm on Monday September 09, 2013 @06:28PM (#6356709)
Thanks. I will add it shortly.
Re:Python API by pyre on Monday September 09, 2013 @12:01PM (#6354239)
The Urban Dictionary API wrapper[1] isn't in Python:

  installation

  $ npm install -g urban # bin
  $ npm install urban # lib

[1]: https://github.com/mvrilo/urban

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 spilcm on Tuesday September 10, 2013 @05:29PM (#6363644)
Updated the URL. If you can find a better wrapper, please let me know :)
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 taude on Monday September 09, 2013 @07:50AM (#6352874)
Yeah, it'd be nice to be able to submit an API.

Like for Trello: https://bitbucket.org/btubbs/trollop

Re:Python API by compcm on Monday September 09, 2013 @10:38AM (#6353694)
Thanks for the URL. I will look into that.
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):

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!

Re:Python API by memset on Monday September 09, 2013 @12:12PM (#6354314)
This is really neat!

You are missing the UPS API! (disclosure: I wrote this python library for it :)

https://github.com/classicspecs/ClassicUPS

Re:Python API by spilcm on Monday September 09, 2013 @04:08PM (#6355811)
Added!
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.
Re:Python API by acjohnson55 on Monday September 09, 2013 @03:58PM (#6355747)
It could use an entry for Echonest, which has all sorts of great APIs for working with music audio and metadata

[1] http://developer.echonest.com/

[2] http://echonest.github.io/pyechonest/

Re:Python API by g0lden on Monday September 09, 2013 @06:29PM (#6356718)
great suggestion, I was looking for something like this
Re:Python API by spilcm on Monday September 09, 2013 @04:07PM (#6355808)
Already added.
Re:Python API by dhanush on Monday September 09, 2013 @07:26AM (#6352788)
How can we add to the list?
Re:Python API by compcm on Monday September 09, 2013 @10:37AM (#6353689)
I will work on that! For now, just use the contact form or Twitter (https://twitter.com/pyapis)
Re:Python API by dudus on Monday September 09, 2013 @10:50AM (#6353775)
Thanks but no thanks. I suggest that you come up with a github repo and ask people for pull requests.
Re:Python API by mjhea0 on Monday September 09, 2013 @04:34PM (#6355988)
agreed. setup a repo.

also, it would be nice if you would allow more than one wrapper per api.

Re:Python API by pjscott on Monday September 09, 2013 @02:18PM (#6355168)
An API would be appropriate.
Re:Python API by old-gregg on Monday September 09, 2013 @10:44AM (#6353735)
Nice! Rackspace Cloud SDK is missing though: http://docs.rackspace.com/sdks/guide/content/python.html
Re:Python API by egor83 on Monday September 09, 2013 @11:19AM (#6353989)
Google APIs client library [1]

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...

Re:Python API by jonesetc on Monday September 09, 2013 @08:10AM (#6352953)
"Python wrapper for Netflix" links to https://github.com/ozgur/python-linkedin
Re:Python API by orng on Monday September 09, 2013 @09:08AM (#6353176)
It appears to have been fixed. It now points to https://github.com/jcopenha/pyflix
Re:Python API by compcm on Monday September 09, 2013 @10:39AM (#6353704)
Updated for a while ago already, forgot to mention it here. Sorry.
Re:Python API by dmpayton on Monday September 09, 2013 @02:20PM (#6355190)
Super nifty, bookmarked.

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

Re:Python API by sdfjkl on Monday September 09, 2013 @07:26AM (#6352790)
Nice idea.

Missing Evernote API: http://dev.evernote.com/doc/

Re:Python API by compcm on Monday September 09, 2013 @10:35AM (#6353671)
Thanks. I will add the Evernote API later tonight
Re:Python API by netvarun on Monday September 09, 2013 @10:38AM (#6353695)
Shameless plug: Kindly add my startup's API, the Semantics3 Product API* (https://semantics3.com/) too :)

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

Re:Python API by codingjester on Monday September 09, 2013 @09:10AM (#6353190)
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.

Re:Python API by gpsarakis on Monday September 09, 2013 @01:13PM (#6354681)
Nice job. Another addition: Stripe Python API https://github.com/stripe/stripe-python . The documentation is on https://stripe.com/docs/api/python.
Re:Python API by spilcm on Tuesday September 10, 2013 @05:53PM (#6363779)
Stripe API just added.
Re:Python API by lahwf on Monday September 09, 2013 @11:09AM (#6353928)
A Lot of these libraries, are old and aren't maintained. Nice idea horrible curation.
Re:Python API by zachallia on Monday September 09, 2013 @09:06AM (#6353164)
It really bothers me that API isn't capitalized in "Api Documentation" :)
Re:Python API by compcm on Monday September 09, 2013 @10:34AM (#6353665)
LOL. That's a good point. I will fix that tonight :)
Re:Python API by pymatty on Monday September 09, 2013 @05:55PM (#6356528)
Disqus Python, https://github.com/disqus/disqus-python

Nice comprehensive list, Thanks!

Re:Python API by spilcm on Monday September 09, 2013 @04:31PM (#6355971)
Just updated the site with more API's. Check it out.
Re:Python API by smortaz on Monday September 09, 2013 @06:16PM (#6356648)
Re:Python API by enthuzer on Monday September 09, 2013 @02:11PM (#6355124)
Anyone know of a list like this for Node.js, Ruby?
Re:Python API by snake_plissken on Monday September 09, 2013 @01:06PM (#6354629)
Very nice!! That ESPN one has some real potential.

Alas, you are missing Titshare

Re:Python API by dfrodriguez143 on Monday September 09, 2013 @12:52PM (#6354544)
Amazing! Thanks!
Re:Python API by spilcm on Tuesday September 10, 2013 @05:53PM (#6363778)
Thanks!
Re:Python API by bcambel on Monday September 09, 2013 @06:56AM (#6352679)
very handy! Thanks a lot
Re:Python API by compcm on Monday September 09, 2013 @10:39AM (#6353705)
Cheers.
Re:Python API by julius1204 on Monday September 09, 2013 @06:09AM (#6352569)
interesting and handy stuffs! +1!
Re:Python API by spilcm on Tuesday September 10, 2013 @05:53PM (#6363775)
Cheers