ci4MfeSYxIpq

105
down vote
If you have a url and your php supports it, you could just call file_get_contents:

$response = file_get_contents('http://example.com/path/to/api/call?param1=5');
if $response is JSON, use json_decode to turn it into php array:

$response = json_decode($response);
if $response is XML, use simple_xml class:

$response = new SimpleXMLElement($response);
http://sg2.php.net/manual/en/simplexml.examples-basic.php