View Single Post
Old 06-11-2008, 08:25 AM   #24
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
Quote:
Originally Posted by kran View Post
Thanks a lot !

(Just to know if I can modify what I want, is this under GPL license ?)
Sure but keep in mind that the API will evolve in the near future.

We'll have a RESTful API.
For exemple you'll be able to access a book in XML with this type of request: GET /book/id.xml
or in JSON: GET /book/id.json

To search for a book it'll be: GET /books/search?query=yourquery
... for an author: GET /authors/search?query=yourquery

We'll have tons of resources available this way. The first version of the API will be mostly GET requests (read) but we'll add the possibility to create books, authors, newspapers in the second release (the rest of the CRUD actions: Create, Update and Delete).

I've included an example of a search with the new API. If you'd like to study examples of REST API, try Digg or Twitter.
Attached Files
File Type: xml search.xml (11.5 KB, 647 views)
Hadrien is offline   Reply With Quote