Api session location: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
(2 intermediate revisions by the same user not shown)
Line 29: Line 29:
===='''Examples====
===='''Examples====
'''HTML''':
'''HTML''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=HTML&token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=HTML&token=API_TOKEN&crs=3857&api-version=2023</syntaxhighlight>
 
'''HTML''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=HTML&token=API_TOKEN&crs=3857&api-version=2024</syntaxhighlight>
 
'''JSON''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=JSON&token=API_TOKEN&crs=3857&api-version=2023</syntaxhighlight>


'''JSON''':
'''JSON''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=JSON&token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=JSON&token=API_TOKEN&crs=3857&api-version=2024</syntaxhighlight>
 
'''GEOJSON''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=GEOJSON&token=API_TOKEN&crs=3857&api-version=2023</syntaxhighlight>


'''GEOJSON''':
'''GEOJSON''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=GEOJSON&token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=GEOJSON&token=API_TOKEN&crs=3857&api-version=2024</syntaxhighlight>


'''SMILE''':
'''SMILE''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=SMILE&token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=SMILE&token=API_TOKEN&crs=3857&api-version=2023</syntaxhighlight>
 
'''SMILE''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=SMILE&token=API_TOKEN&crs=3857&api-version=2024</syntaxhighlight>


'''ZIPJSON''':
'''ZIPJSON''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=ZIPJSON&token=API_TOKEN&crs=3857&api-version=2023</syntaxhighlight>
 
'''ZIPJSON''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=ZIPJSON&token=API_TOKEN&crs=3857&api-version=2024</syntaxhighlight>
 
'''ZIPSMILE''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=ZIPSMILE&token=API_TOKEN&crs=3857&api-version=2023</syntaxhighlight>


'''ZIPSMILE''':
'''ZIPSMILE''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=ZIPSMILE&token=API_TOKEN&crs=3857&api-version=2024</syntaxhighlight>


{{article end
{{article end

Revision as of 14:05, 15 June 2026

API Endpoint: api/session/location/

GET location

API Endpoint: api/session/location

Parameters:

Name Location Type Default value
crs Query String EPSG:3857
f Query Format HTML
api-version Query String 2024

Examples

HTML:

https://engine.tygron.com/api/session/location/?f=HTML&token=API_TOKEN&crs=3857&api-version=2023

HTML:

https://engine.tygron.com/api/session/location/?f=HTML&token=API_TOKEN&crs=3857&api-version=2024

JSON:

https://engine.tygron.com/api/session/location/?f=JSON&token=API_TOKEN&crs=3857&api-version=2023

JSON:

https://engine.tygron.com/api/session/location/?f=JSON&token=API_TOKEN&crs=3857&api-version=2024

GEOJSON:

https://engine.tygron.com/api/session/location/?f=GEOJSON&token=API_TOKEN&crs=3857&api-version=2023

GEOJSON:

https://engine.tygron.com/api/session/location/?f=GEOJSON&token=API_TOKEN&crs=3857&api-version=2024

SMILE:

https://engine.tygron.com/api/session/location/?f=SMILE&token=API_TOKEN&crs=3857&api-version=2023

SMILE:

https://engine.tygron.com/api/session/location/?f=SMILE&token=API_TOKEN&crs=3857&api-version=2024

ZIPJSON:

https://engine.tygron.com/api/session/location/?f=ZIPJSON&token=API_TOKEN&crs=3857&api-version=2023

ZIPJSON:

https://engine.tygron.com/api/session/location/?f=ZIPJSON&token=API_TOKEN&crs=3857&api-version=2024

ZIPSMILE:

https://engine.tygron.com/api/session/location/?f=ZIPSMILE&token=API_TOKEN&crs=3857&api-version=2023

ZIPSMILE:

https://engine.tygron.com/api/session/location/?f=ZIPSMILE&token=API_TOKEN&crs=3857&api-version=2024

See also