API for Iron Stallion 1.59 Mega Map Server
JSON for programs, websites and more
text
json
{
"response": {
"steam_id": "85568392935810009",
"domain": null,
"id": 11665581,
"ip": "70.237.86.157",
"port": 27027,
"query": 27028,
"project_id": null,
"color": 0,
"city": "Nashville",
"description": null,
"game": 270880,
"owner": null,
"boosts": 1,
"last_offline": 1781296385,
"last_online": 1781083290,
"icon": null,
"name": "Iron Stallion 1.59 Mega Map Server",
"connect": "70.237.86.157:27027",
"request": "70.237.86.157:27028",
"map": "usa",
"gamemode": "American Truck Simulator",
"version": null,
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780179157,
"last_update": 1781296385,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 814,
"language": "en",
"parked": false,
"app": {
"id": 2949,
"steam_id": 270880,
"name": "American Truck Simulator",
"url": "american-truck-simulator"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11665581");
$data = json_decode($json, true);
var_dump($data);