API www.bokhavet.se (free Plugin)

API-Source: https://www.bokhavet.se/api API-Syntax: https://www.bokhavet.se/api/book?isbn=9789188265258&auth_token=… JCI-Syntax: [jsoncontentimporter url=https://www.bokhavet.se/api/book?isbn=9789188265258&auth_token=… basenode=data] isbn: <input type=text name=isbn value=”{isbn}”> {subloop-array:prices:-1}type: {prices.type}, price: <input type=text name=price value=”{prices.price}”> {/subloop-array:prices} [/jsoncontentimporter] Example:

API: expedia.com

API: http://developer.ean.com/docs/hotel-info/examples/rest-content-options Requirements: Install the free WordPress Plugin Insert PHP for putting together the signature-key Use “_symbol_at_” in the template when the JSON-key contains @, otherwise the twig-parser crashes JCI-Syntax: [jsoncontentimporterpro url=http://api.json-content-importer.com/extra/json/expedia/ean-com-1.json?sid=[insert_php] $apiKey = ‘xxx-YourAPIkey-xxx’; $secret = ‘xxYourSecretxx’; $timestamp = gmdate(‘U’); // 1427233130 (Tue, 24 Mar 2015 21:38:50 +0000) $sig = md5($apiKey . $secret . … Continue reading “API: expedia.com”

API: data.sportlink.com

API-Source: http://www.sportlinkclub.nl/ledenadministratie/club-dataservice/ API-Syntax: https://data.sportlink.com/teams?client_id=… or https://data.sportlink.com/poulestand?client_id=…&poulecode=…. JCI-Syntax: [jsoncontentimporterpro url=https://data.sportlink.com/teams?client_id=… parser=twig] {% for item in _context %} {% if item.poulecode>0 %} poulecode: {{item.poulecode}} [jsoncontentimporter url=https://data.sportlink.com/poulestand?client_id=…&poulecode={{item.poulecode}}] {teamnaam:ifNotEmptyAddLeft:teamnaam }{clubrelatiecode:ifNotEmptyAddLeft:clubrelatiecode } [/jsoncontentimporter] {% endif %} {% endfor %} [/jsoncontentimporterpro] Settings of jsoncontentimporterpro: The Plugin-Option-Tab “Settings” > “Usage of other shortcodes:” must be “first JSONContentImporter-Shortcode, 2nd: third-party-Shortcodes (default)” Example: