1

Address and coordinates detection

Тема: Address and coordinates detection

I am a Wialon Hosting user. I want to make sure of the address and coordinates detection API highlighted at https://sdk.wialon.com/wiki/en/sidebar/ … ss_coords.

A sample request is like this

https://geocode-maps.wialon.com/hst-api … s_geocode?
    coords=[{
        "lon":27.516643322771575,
        "lat":53.91069937030936
    }]
    &flags=1255211008
    &uid=50935

My question is how I get the uid? Is it my user ID? How do I know what my user ID is?

2

Address and coordinates detection

Re: Address and coordinates detection

Hi!

yes, uid is a user ID by which you login  - https://sdk.wialon.com/wiki/en/sidebar/ … n#response
After login you get user ID from response - parameter  "user" -  "id"  for example (the part of  json response)

{
........
.....
    "au": "username_10",
    "tm": 1630396296,
    "wsdk_version": "1.355",
    "base_url": "https://hst-api.wialon.com",
    "hw_gw_ip": "193.193.165.165",
    "hw_gw_dns": "nl.gpsgsm.org",
    "gis_search": "",
    "gis_render": "",
    "gis_geocode": "",
    "gis_routing": "",
    "user": {
        "nm": "username_10",
        "cls": 1,
        "id": 191718891,
.....
......
Diana Cheley
Wialon Hosting Expert
Gurtam