User Tools

Site Tools


plugins:extend_api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugins:extend_api [2011/05/14 14:20]
ccagle8 [API Result Set]
plugins:extend_api [2014/02/07 09:58] (current)
datiswous [PHP Example Code]
Line 22: Line 22:
 Since the result is in json format, you can turn the above into a PHP object array with ''​json_decode($response)''​. The resulting array will look like this: Since the result is in json format, you can turn the above into a PHP object array with ''​json_decode($response)''​. The resulting array will look like this:
  
-<​code>​+<​code ​php>
 stdClass Object stdClass Object
  
Line 47: Line 47:
 This will echo out the latest version number for the live example above. This will echo out the latest version number for the live example above.
  
-<​code>​+<​code ​php>
 $my_plugin_id = 30; // replace this with yours $my_plugin_id = 30; // replace this with yours
  
Line 62: Line 62:
 ===== Extend API Limitations ===== ===== Extend API Limitations =====
  
-This API is only refreshed every 4 hours. This is to limit the server load for a service that does not need to be checked any more frequently than that. Please use this responsibly.+This API is cached, and is allowed to be refreshed every 4 hours. ​ This is to limit the server load for a service that does not need to be checked any more frequently than that. Please use this API responsibly.
plugins/extend_api.1305382851.txt.gz ยท Last modified: 2013/04/19 14:57 (external edit)