API www.bokhavet.se

API-Source: https://www.bokhavet.se/api
API-Syntax: https://www.bokhavet.se/api/book?isbn=9789188265258&auth_token=…
JCI-free option: see http://api.json-content-importer.com/api-www-bokhavet-se-free-plugin/


JCI-Syntax:
[jsoncontentimporterpro url=https://www.bokhavet.se/api/book?auth_token=… parser=twig urlparam=isbn]
search for isbn: <input type=text name=isbn value=”{{urlparam.isbn}}”>
{% if success %}
title: {{data.title}}: {{data.pages}} pages, published {{data.published}}
{% else %}
isbn not found
{% endif %}
<input type=submit value=”search isbn”></form>
[/jsoncontentimporter]


Plugin-Settings: “urlparam” must be switched on


Example:

search for isbn:

isbn not found (example: isbn 9789188265258)