(Little) API

Different formats of locilink

As a addition to usual web view, request locilink with different formats if you need to use data about place (example):

http://loci.me/.341cf.xml
http://loci.me/.341cf.json

or geoformats

http://loci.me/.341cf.kml
http://loci.me/.341cf.gpx
http://loci.me/.341cf.lmx

Submit new place

Currently the only available call (with different format outputs) is to create new locilink. Specify format you want.

http://loci.me/api/places/create.json?params...
http://loci.me/api/places/create.xml?params...

where params (sent by get or post) are:

lat         (-90..90)
lon         (-180..180)
altitude
coords      (lat,lon OR coords, not both)
title       (max 128 chars)
description (max 1000 chars)
link        (max. 128 chars, currently only http/s protocol)

Only lat/lon or coords are required, others are optional.

Coords can be in a formats:

51.510278,-0.133982
N 51°30.61668'  W 0°08.03892'
51°30'37.001"N  0°08'02.335"W