API Explorer & Remote Access
A first place to begin is Scalar’s API Explorer. This simple interactive tool allows you to select options to generate API query URLs and see the results.
There are two main ways to access the API from a remote server. First, you can proxy the data via a PHP file on your server (which sidesteps cross-site scripting restrictions) in either RDF-XML or RDF-JSON. Alternatively, you can access the API directly using JSONP (a JSON wrapper that facilitates remote calls that is supported by frameworks such as jQuery). For example, this call will return all content nodes in the Scalar Guide, formatted in JSONP with the “abcdef123456″ callback:
|Previous page on path
|Working with the API, page 1 of 6
|Next page on path