Tixik.com API
You can simply retrieve data from Tixik.com. API is very simple at this moment, but we are still hard-working on it. We appreciate your comments on new functions.
How to start
- Read the terms
- Watch examples below
Technical informations
API is called by GET od POST method, and the result is XML file. Basic URL is http://en.tixik.com/api/FUNCTIONS?params.
If you want to get results in different language, simply change url prefix like this :
- http://es.tixik.com/api/FUNCTIONS?params
- http://de.tixik.com/api/FUNCTIONS?params
For example, to get result of famous places around GPS position, simply call (script or your favorite browser) :
http://en.tixik.com/api/nearby?lat=36.106121163930377&lng=28.077621459960938
In case of mistake API returns :<tixik response="error">
<message>No GPS data</message>
</tixik>
Function description
Tixik.Nearby
Return famous places around GPS position:
Parameters :
- lat - GPS latitude
- lng - GPS longitude
- limit - maximum results - optional
Example call : http://en.tixik.com/api/nearby?lat=36.106121163930377&lng=28.077621459960938
Tixik.Search
Returns list of famous places for a given fulltext search, or return complete result set
Parameters :
- s (search phrase) - optional
- limit - maximum results - optional
Example calls :
- http://en.tixik.com/api/search?s=greece - return places matching tag ,,greece"
- http://en.tixik.com/api/search?limit=10000 - return first 10000 results
Tixik.Localize
Returns informations about administrative divisions where GPS is located. (max. 5. administrative level). Also known as reverse geocoding
Parametry :
- lat, lng - GPS latitude and longitude
Example call:
http://en.tixik.com/api/localize?lng=46.9989876381546&lat=2.7191162109375
