User:Jarle Pahr/API

From OpenWetWare
Jump to navigationJump to search

PMC Europe: http://europepmc.org/RestfulWebService

Twitter:

Twitter libraries: https://dev.twitter.com/docs/twitter-libraries

https://dev.twitter.com/docs/api

Science APIs: http://www.programmableweb.com/apis/directory/1?apicat=Science

BioBricks Public Agreement: http://www.programmableweb.com/api/biobricks-public-agreement

http://www.programmableweb.com/

http://www.pythonforbeginners.com/python-on-the-web/how-to-access-various-web-services-in-python/

https://dev.twitter.com/docs/api/1.1


oDesk: http://developers.odesk.com/w/page/12364003/FrontPage

http://www.pythonforbeginners.com/development/list-of-python-apis/

SNPedia: http://bots.snpedia.com/api.php

http://snpedia.com/index.php/Bulk

OMIM: http://www.omim.org/help/api

http://www.programmableweb.com/api/omim

http://www.codecademy.com/tracks/apis

HTTP

  • GET
  • POST
  • PUT
  • DELETE

http://papa.det.uvigo.es/~theiere/cursos/Curso_WWW/codes.html


Request format:


Response format:


# HTTP/1.1 200 OK  <----Response line with response code.
# Content-Type: text/xml; charset=UTF-8 <-----Header
# <?xml version="1.0" encoding="utf-8"?> <---Body
# <string xmlns="http://www.codecademy.com/">Accepted</string> <---Body

XML

JSON

JavaScript Object Notation

http://www.json.org/

http://no.wikipedia.org/wiki/JSON

JSON tutorial: http://www.w3schools.com/json/

REST

http://en.wikipedia.org/wiki/Representational_state_transfer


Python

http://www.redmine.org/projects/redmine/wiki/Rest_api_with_python


http://rest.elkstein.org/2008/02/using-rest-in-python.html

http://blog.parse.com/2012/07/09/python-rest-examples/

https://developer.decibel.net/sample-code-rest-python

http://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask

https://pypi.python.org/pypi/restkit