This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
covers:api [2012/04/22 05:16] 127.0.0.1 external edit |
covers:api [2020/08/19 12:44] (current) jposeika |
||
---|---|---|---|
Line 5: | Line 5: | ||
===== Covers availability data ===== | ===== Covers availability data ===== | ||
==== Input ==== | ==== Input ==== | ||
- | * URL for XML output: http://content.chilifresh.com/api/ | + | * URL for XML output: https://content.chilifresh.com/api/ |
- | * URL for JSON output: http://content.chilifresh.com/api/json/ | + | * URL for JSON output: https://content.chilifresh.com/api/json/ |
* Method: GET | * Method: GET | ||
* Available both over plain HTTP and SSL | * Available both over plain HTTP and SSL | ||
Line 35: | Line 35: | ||
**XML input example:** | **XML input example:** | ||
<code> | <code> | ||
- | http://content.chilifresh.com/api/?isbn=9780578033440&size=L | + | https://content.chilifresh.com/api/?isbn=9780578033440&size=L |
</code> | </code> | ||
Line 46: | Line 46: | ||
<item_id>9780578033440</item_id> | <item_id>9780578033440</item_id> | ||
<small_cover_exists>1</small_cover_exists> | <small_cover_exists>1</small_cover_exists> | ||
- | <small_cover_url>http://content.chilifresh.com/?isbn=9780578033440&size=S</small_cover_url> | + | <small_cover_url>https://content.chilifresh.com/?isbn=9780578033440&size=S</small_cover_url> |
<medium_cover_exists>1</medium_cover_exists> | <medium_cover_exists>1</medium_cover_exists> | ||
- | <medium_cover_url>http://content.chilifresh.com/?isbn=9780578033440&size=M</medium_cover_url> | + | <medium_cover_url>https://content.chilifresh.com/?isbn=9780578033440&size=M</medium_cover_url> |
<large_cover_exists>1</large_cover_exists> | <large_cover_exists>1</large_cover_exists> | ||
- | <large_cover_url>http://content.chilifresh.com/?isbn=9780578033440&size=L</large_cover_url> | + | <large_cover_url>https://content.chilifresh.com/?isbn=9780578033440&size=L</large_cover_url> |
</response> | </response> | ||
</code> | </code> | ||
Line 57: | Line 57: | ||
**JSON input example:** | **JSON input example:** | ||
<code> | <code> | ||
- | http://content.chilifresh.com/api/json/?isbn=9780578033440&size=L | + | https://content.chilifresh.com/api/json/?isbn=9780578033440&size=L |
</code> | </code> | ||
Line 68: | Line 68: | ||
"response_time":"Thu, 30 Jun 2011 08:05:30 -0500", | "response_time":"Thu, 30 Jun 2011 08:05:30 -0500", | ||
"item_id":"9780578033440","small_cover_exists":"1", | "item_id":"9780578033440","small_cover_exists":"1", | ||
- | "small_cover_url":"http:\/\/content.chilifresh.com\/?isbn=9780578033440&size=S", | + | "small_cover_url":"https:\/\/content.chilifresh.com\/?isbn=9780578033440&size=S", |
"medium_cover_exists":"1", | "medium_cover_exists":"1", | ||
- | "medium_cover_url":"http:\/\/content.chilifresh.com\/?isbn=9780578033440&size=M", | + | "medium_cover_url":"https:\/\/content.chilifresh.com\/?isbn=9780578033440&size=M", |
"large_cover_exists":"1", | "large_cover_exists":"1", | ||
- | "large_cover_url":"http:\/\/content.chilifresh.com\/?isbn=9780578033440&size=L" | + | "large_cover_url":"https:\/\/content.chilifresh.com\/?isbn=9780578033440&size=L" |
} | } | ||
} | } | ||
</code> | </code> |