Jump to content

Search the Community

Showing results for tags 'api'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • News
    • Development Announcements
    • Official TruckersMP Events
  • Q&A
    • Q&A 2024
  • Information & Support
    • TruckersMP Rules
    • Guides
    • Help
    • Suggestions
    • Recruitment
  • Community
    • Discussion
    • Q&A
    • VTC System
    • Event System
    • Discord
    • Developer Portal
    • Unofficial tools
    • Media
  • International Community
    • Other Languages
  • Archive
    • Archive
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


Interests


Known languages


VTC Name


Twitch


Twitter


Facebook


World Of Trucks


YouTube

Found 11 results

  1. Hello, I have a question about the TruckersMP API. I couldn't post in the right section, so I put it here. We use an API endpoint to get all our attending convoy's: https://api.truckersmp.com/v2/vtc/61164/events/attending/ But is it possible, if this API Endpoint can be sorted on StartDate instead of the EventID of the Event. The API endpoint is not the same as https://truckersmp.com/vtc/61164/events/attending Thanks,
  2. Suggestion Name: API: show VTC's required DLCs Suggestion Description: Show required DLCs of a VTC, if it has any. `/events/:id` - 'response.dlcs' can be taken as an example. Any example images: n/a Why it should be added: Nice-to-have feature.
  3. Suggestion Name: API: show actual event server name Suggestion Description: Include actual event server name instead of "Event Server" Any example images: n/a Why it should be added: Better end-user experience. For example, our bot posts info messages about events we attend on a particular day, and if the event is on an event server, it just says " Event Server ", and our drivers have often been confused by this server name. And I can understand their confusion. One of the possible solutions I see is to simply change 'response.server.name' to say the actual name of the server, e.g. 'Dulcis Log | Christmas Convoy' instead of 'Event Server', and add another property to 'response.server' - 'isEvent' of boolean type, so that it's still possible to know whether the server is an event server or a normal server.
  4. Hello! `/player` endpoint of TruckersMP API turns out to be disabled/filtered with Cloudflare. Other endpoints are working fine. Is it intentional? I can give a Ray ID via DM if needed.
  5. Hello, is there any way to get the attending events from an specific VTC by API? I've already searched in the official API docs, but there is nothing... Thank in advanced Yours sincerely SuperDog
  6. Suggestion Name: Creating other methods to donate. Suggestion Description: I tried to donate but my payment gets rejected for some issues. But honestly, I use to shop online and pay other online merchants easily with my Bank A/c & Card. Here I saw only two PayPal option, even tho I tried to pay directly by Card it still gets interfered by PayPal. I suggest other options, like domestic wallets, direct pay by card, CCAvenue. Just like Steam has. We can pay directly by our card without any problems. This will help both the sides, the developers of this masterpiece ETS2 Multiplayer and the players who really love it. As we all know actions speak louder than words, donating excels shouting that "I love this, I love that". I also believe such a problem faced by other people around the globe will be solved by this. Any example images: I believe the description is clear enough. Why should it be added?: Those who want to donate can donate! Donation funds keep flowing, ETS2 MP LIVES LONGER! Thanks for sparing your time in reading my suggestion. I wish this suggestion gets implemented. I myself willing to donate in the first place as soon as it gets implemented.
  7. Hi, not sure if I am calling the api correctly and displaying the results right for the bans. Everything else works but not the bans for some reason. <?php $sqlget = 'SELECT * FROM players WHERE rank = "Veteran" ORDER BY joindate ASC'; $sqldataV = mysqli_query($dbcon, $sqlget); while($row = mysqli_fetch_array($sqldataV, MYSQLI_ASSOC)){ $json = file_get_contents('http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=9B7EFDB256E798658715CE71D574D751&steamids='.$row['playerid'].''); $parsedV = json_decode($json); foreach($parsedV->response->players as $playerV){ } $online = $playerV->personastate; if ($online == '1'){ $bcolor = '4px solid #6eea15'; } else{ $bcolor = ''; } $json = file_get_contents('https://api.truckersmp.com/v2/player/'.$row['playerid'].''); $data = json_decode($json); $mpname = $data->response->name; $mpid = $data->response->id; $json2 = file_get_contents('https://api.truckersmp.com/v2/bans/'.$mpid.''); $data2 = json_decode($json2); $expiredate = $data2->response->expiration; $admin = $data2->response->adminName; echo'<li id="fleet" >'; echo "<center><img style='height:auto; width:auto; border:$bcolor;' class='img-circle' src='" . $playerV->avatarfull . "'></center>"; echo '<center><p style="margin-top: 65%;">'. $mpname . '<p></center>'; echo '<center><p style="margin-top: 65%;">'. $expiredate . '<p></center>'; echo'</li>'; } ?> Any help I will be greatful for.
  8. I'm creating a hub for my upcoming VTC Management System (shh) and I'm trying to figure out how to get per-city congestion information, similar to https://traffic.krashnz.com/ets2/eu2 I've looked through the API and I can only find server traffic. Is per-city traffic only available to krashnz or am I just missing something?
  9. TruckersMP Traffic https://traffic.krashnz.com TruckersMP Traffic is a simple tool that tells you how busy a location is in TruckersMP. Note: If you want access to the traffic API just send me a PM. I've added a game status image that you can use in your signatures or wherever you want. Just replace <id> with your TruckersMP ID in the following link: https://traffic.krashnz.com/api/v2/user/<id>/status.png For example, my TruckersMP ID is 6818 so my link would be https://traffic.krashnz.com/api/v2/user/6818/status.png Note: Data is collected from ETS2Map so if the map is down it will say you are offline.
  10. alanj1987

    api docs

    hello is there any api docs or help with the api system? is there anyone from staff that i can discuss things with ?
  11. Suggestion Name: REST API documentation Why should it be added?: We don't have an all methods in manual (for ex. /version) Suggestion Description: Nope.
×
×
  • 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.