Saturday, November 12, 2016

It ebooks Rest Api

Itebooks which is one of the popular sources for programming books.

They have exposed couple of REST Apis as GET request.

One of it is send request to it based on the book id.

Below is the code to get the details of the book:

import json
import urllib
response = urllib.urlopen('http://it-ebooks-api.info/v1/book/2279690981')
json_response = json.loads(response.read())
print json_response
view raw ItebooksRest.py hosted with ❤ by GitHub

No comments:

Post a Comment