Jump to content

ets2map.com API Details


Recommended Posts

@Kat_pw and others.  I know there is documentation on truckersmp.com API but any documentation on ets2map.com API anywhere? Wondering what we can use I have seen the check if a player is online  http://tracker.ets2map.com/doko/{id}  but is there any other API we can use from the ets2map site?

spacer.png

Link to comment
Share on other sites

@El1teZombiezHD  Was thinking something about pulling the users current position on the map and or what details I could pull via ets2map API that could be useful.  With the current player API v2 you can't tell if the user is online or offline. That is where the ets2map.com API comes in just wondering what else I would be allowed to use and or See Also if there is plans on releasing some of the API information for ets2map. 

spacer.png

Link to comment
Share on other sites

On 13/12/2016 at 7:34 AM, ClumsyZombie said:

@El1teZombiezHD  Was thinking something about pulling the users current position on the map and or what details I could pull via ets2map API that could be useful.  With the current player API v2 you can't tell if the user is online or offline. That is where the ets2map.com API comes in just wondering what else I would be allowed to use and or See Also if there is plans on releasing some of the API information for ets2map. 

Have a look at http://truckers.events to see how this has already been done.

It's quite clever and you'd probably be able to work it out based on the TMP API :) 

MP Productions - Matt

YouTube Channel: http://bit.ly/2a4kQeM (Subscribe to support more content being uploaded)

Website: http://mattsphotos.com.au (My personal website, built by myself)

PlaysTV: http://plays.tv/u/mpproductions

Link to comment
Share on other sites

  • 4 weeks later...

Hi. Tell me, please.

Do I understand correctly that until you finish a piece of card from the DLC, Viva La France, the API will return an empty result at any coordinate?

Example:

https://tracker.ets2map.com/v2/2/-11652/-6169/3938

Return:

Quote

{"Trucks": {}}

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

I'm sorry, but can someone of the developers to answer? Why in the status of the ETS 2 Map, all services work, but in reality it is not.

How can I use ETS 2 Map API if http://tracker.ets2map.com/ returns an empty result? It lasts from last year.

Maybe there's a possibility to apply for access to this API?
Just if this API is not available to everyone, makes no sense to display in status...
 

Spoiler

Question. Why do I need it?
I would like to have a json array of all players on the server and their coordinates.
With the help of an array of coordinates of all the players, I could display their position on the map, update every 5sec with caching.
I know krashnz has already started work on, but it is not clear whether the API is available to all, also I would like to use my map.

 

stat.png.f0d1bbf2ea44f113470ee5823b4bb61f.png

 

!!! UPDATE. ANSWER  -  https://forum.truckersmp.com/index.php?/topic/353-map-api-players-location-api/&do=findComment&comment=2274

 

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
  • Guest locked this topic
  • Kat_pw unlocked this topic
On 28.05.2017 at 9:03 PM, Kat_pw said:

Unlocking..

 

When API was started, it worked for 1 hour and broke again.
I am ready to render any help in monitoring and restarting the web server and api.

If at you is not enough time that always quickly to restore it...

 

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.