Jump to content

Search the Community

Showing results for tags 'api'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • News
    • Development Announcements
  • Information & Support
    • TruckersMP Rules
    • Guides
    • Help
    • Bug Reports
    • Suggestions
    • Recruitment
  • Community
    • General Discussion
    • Hot Topic
    • Discord
    • Companies
    • Community Events
    • Off Topic Discussion
    • Developer Portal
    • Unofficial tools
    • Media
  • International Community
    • Other Languages
  • Archive

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


TruckersMP ID

 
or  

VTC Name


VTC ID

 
or  

YouTube


Plays.tv


Twitter


Twitch.tv


Hitbox.tv

Found 9 results

  1. 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.
  2. Developers These days Valve officially announced that a new version of steam designed for Chinese region, 蒸汽平台 (Zheng Qi Ping Tai, the Chinese translation of steam platform), will be released only for Chinese players to access to games, including ETS2 and ATS. ZhengQi (abbr. of chinese steam platform) seems to be an independent platform of steam, which means TruckersMP could no longer able to access steam game process in China. So would it possible if TruckersMP add API to that recently announced Chinese steam platform? relative links: https://www.pcgamer.com/steam-china-will-be-almost-entirely-independent-of-steam/ https://www.pcgamer.com/valve-and-perfect-world-are-bringing-steam-to-china/ I hereby appreciate your further considerations and related supports of any type. Edmund, Chenxi-VTC Translator & Media Aug 22, 2019
  3. Thank you very much for Krashnz's API technical support,I had a problem getting public API data。 As shown in the figure, this is the correct data to get it. But I had problems printing JSON data on the local server. The data I get on the local server is the same as the data I get on the public API, but the Steam ID is not the same. The problem stumped me. Can you give me a suggestion?
  4. 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.
  5. 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.
  6. 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?
  7. Moin liebe Community, ich poste hier im Namen eines Freundes. Ihm taucht beim Starten des Multiplayers die Fehlermeldung auf, dass der steam_api.dll fehle. Hilfe? Danke!
  8. 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 ?
  9. 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...