Hello. I am attempting to get some information from a russian shipping website. Being a n00b to JSON/Jquery/Internets I am stuck getting the data into json format.
Following the company's API, I go to the URL: http://emspost.ru/api/rest/?callback=json&method=ems.calculate&from=city--abakan&to=city--anadyr&weight=1
This returns:
json({"rsp":{"stat":"ok","price":"750","term":{"min":5,"max":9}}})
Following Jquery's docs, I have tried:
<script>$.getJSON("http://emspost.ru/api/rest/?callback=json&method=ems.calculate&from=city--abakan&to=city--anadyr&weight=1",
function(data){
alert(data);
});</script>
This returns null. Any idea what I'm doing wrong?