LibraryThing Web Services API

Versija 1.0

The current stable release version for the LibraryThing Services API is 1.0.
You may direct your API calls to a specific version by changing the path in the request.

Request formats

REST

This format is a simple HTTP GET or POST action and expects method information. Requests follow the following format:

http://www.librarything.com/services/rest/[versija]/?[method_name]& [arguments as key=value separated by ampersands]&apikey=[your developer key]

pavyzdys: http://www.librarything.com/services/rest/1.0/?method=librarything.ck.getwork&id=1060&apikey=d231aa37c9b4f5d304a60a3d0ad1dad4

By default, REST requests will send a REST response.

Atsako formatai

REST

This response is an XML block.

Čia yra REST atsako pavyzdys kūriniui Jonathan Strange & Mr. Norrell

JSON (jau greitai)

This response is a text string in Javascript Object Notation (JSON).
Although originally designed to be a portable data solution for Javascript most other languages can also make use of the format.

Pastabos

Limits

You are limited to a maximum of 1,000 requests per day.

Pagalba / DUK | Apie LibraryThing | Privatumas / Sąlygos | Tinklaraštis | Ryšiams | LibraryThing.com | APIs | WikiThing | Bendrosios žinios | 46,688,176 knygos!