API to JSon

Il formato di output JSon stampa un'array che contiene i risultati nel formato specifico JSon. Per maggiori info clicca qui.
English: JSon format print an array within the results into JSon format. More info here.

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/json/1/ HTTP/1.1
Host: api.cellid.eu

Output with results:

{
	"found": 1
	"value":
	[
		{
			"latitude":"41.890169",
			"longitude":"12.492269",
			"approx":"1428", /* meters */
			"zoom":14,
			"geoname": "Rome [RM]"
		}
	]
}

Output without results:

{
	"found": 0
	"value": []
}