© Copyright 2009-2012. All Rights Reserved - www.cellid.eu |
|
Esempio teorico dell'uso delle API da una chiamata telnet.
open api.cellid.eu 80 GET /mcc/mnc/lac/cid/output/geoname/ HTTP/1.1 Host: api.cellid.eu
output correct values: json, xml, csv
geoname correct values: 1, 0
Esempio pratico per l'uso delle API da una chiamata telnet.
Example for using the API call from a telnet.
Le variabili output e geoname sono opzionali.
output and geoname variables are optional.
open api.cellid.eu 80 GET /222/1/1234/1234567/xml/1/ HTTP/1.1 Host: api.cellid.eu
Output with results:
<?xml version="1.0"?>
<cellID>
<info found="1" latitude="41.890169" longitude="12.492269" approx="1428" zoom="14" geoname="Rome [RM]"/>
</cellID>
Output without results:
<?xml version="1.0"?>
<cellID>
<info found="0"/>
</cellID>