It looks like you're offline.
Open Library logo

Open Library RESTful API → Diff

Added
Modified
Removed
Not changed
Revision 15 by Ben Companjen February 28, 2013
Revision 16 by Giovanni Damiola April 6, 2015
body
0 <style type="text/css"> 0 <style type="text/css">
... ...
22    } 22    }
23    $ curl -s -H 'Accept: application/json' http://openlibrary.org/books/OL1M 23    $ curl -s -H 'Accept: application/json' https://openlibrary.org/books/OL1M
24    { 24    {
... ...
38 38
39    $ curl http://openlibrary.org/books/OL6807502M.rdf 39    $ curl https://openlibrary.org/books/OL6807502M.rdf
40    <rdf:Description rdf:about="http://openlibrary.org/books/OL6807502M"> 40    <rdf:Description rdf:about="http://openlibrary.org/books/OL6807502M">
... ...
54    </rdf:RDF> 54    </rdf:RDF>
55    $ curl -H 'Accept: application/rdf+xml' http://openlibrary.org/books/OL6807502M.rdf 55    $ curl -H 'Accept: application/rdf+xml' https://openlibrary.org/books/OL6807502M.rdf
56    <rdf:Description rdf:about="http://openlibrary.org/books/OL6807502M"> 56    <rdf:Description rdf:about="http://openlibrary.org/books/OL6807502M">
... ...
112    ] 112    ]
113    $ curl -H 'Accept: application/json' 'http://openlibrary.org/query?type=/type/edition&authors=/authors/OL1A' 113    $ curl -H 'Accept: application/json' 'https://openlibrary.org/query?type=/type/edition&authors=/authors/OL1A'
114    [ 114    [
... ...
206    ] 206    ]
207    $ curl -H 'Accept: application/json' http://openlibrary.org/books/OL1M?m=history 207    $ curl -H 'Accept: application/json' https://openlibrary.org/books/OL1M?m=history
208    [ 208    [
... ...
250    ] 250    ]
251    $ curl -H 'Accept: application/json' http://openlibrary.org/recentchanges 251    $ curl -H 'Accept: application/json' https://openlibrary.org/recentchanges
252    [ 252    [
... ...
272 272
273    $ curl -i -H 'Content-Type: application/json' -d '{"username": "joe", "password": "secret"}' http://openlibrary.org/account/login 273    $ curl -i -H 'Content-Type: application/json' -d '{"username": "joe", "password": "secret"}' https://openlibrary.org/account/login
274    HTTP/1.1 200 OK 274    HTTP/1.1 200 OK
... ...
313 Debug information about the error may be provided in the response to help trouble-shooting the issue. 313 Debug information about the error may be provided in the response to help trouble-shooting the issue.