Euro Truck Simulator 2
Maikel - Europe/NL - ProMods 2.81 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/1464929json
{
"response": {
"steam_id": "85568392930604698",
"domain": null,
"id": 1464929,
"ip": "77.172.66.183",
"port": 27015,
"query": 27016,
"color": 0,
"city": "Kerkdriel",
"description": "",
"game": 227300,
"owner": 50125,
"boosts": 1,
"last_offline": 1775610803,
"score": null,
"last_online": 1776024039,
"icon": null,
"name": "Maikel - Europe/NL - ProMods 2.81",
"connect": "77.172.66.183:27015",
"request": "77.172.66.183:27016",
"map": "europe",
"gamemode": "maikel1990.nl",
"version": null,
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1697311283,
"last_update": 1776024039,
"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": 44,
"language": "nl",
"parked": false,
"app": {
"id": 1980,
"steam_id": 227300,
"name": "Euro Truck Simulator 2",
"url": "euro-truck-simulator-2"
},
"server_owner": {
"username": "gustave1990",
"avatar": "7c560593-ffee-48bc-bfb6-909c80bed97b.jpg",
"last_online": 1774572978
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/1464929");
$data = json_decode($json, true);
var_dump($data);