American Truck Simulator
Meserv10 Truck Simulator Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10678837json
{
"response": {
"steam_id": "90282411911587866",
"domain": null,
"id": 10678837,
"ip": "15.235.31.80",
"port": 27015,
"query": 27016,
"color": 0,
"city": "Montreal",
"description": null,
"game": 270880,
"owner": null,
"boosts": 1,
"last_offline": 1769383293,
"score": 0,
"last_online": 1776815490,
"icon": null,
"name": "Meserv10 Truck Simulator Server",
"connect": "15.235.31.80:27015",
"request": "15.235.31.80:27016",
"map": "usa",
"gamemode": "Hosted by Shockbyte/Meserv10",
"version": null,
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1764582623,
"last_update": 1776815490,
"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": 254,
"language": "en",
"parked": false,
"app": {
"id": 2949,
"steam_id": 270880,
"name": "American Truck Simulator",
"url": "american-truck-simulator"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10678837");
$data = json_decode($json, true);
var_dump($data);