Users

Get a user's driving stats

Changed on

Time online and driving, distance driven, per-day activity and whether they are online now, as far as the user's own stats visibility allows. Otherwise visible is false.

get/users/{handleOrId}/game-stats

Request

  • Base URL
    https://api.trucklinemp.com
  • Auth
    • none
    • or HTTP bearer

Path parameters

handleOrIdstring required

User id, webId, handle, or SteamID64.

Response

OK

visibleboolean required
isOwnerboolean required
visibility'public' | 'followers' | 'private' nullable required
showOnMapboolean nullable required

Changes