Project CARS 2
malzbierbude1 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/9588277json
{
"response": {
"steam_id": "90283981552601089",
"domain": null,
"id": 9588277,
"ip": "51.38.118.21",
"port": 28115,
"query": 28116,
"color": 0,
"city": "Limburg an der Lahn",
"description": null,
"game": 378860,
"owner": null,
"boosts": 1,
"last_offline": 1777233763,
"score": 0,
"last_online": 1776445893,
"icon": null,
"name": "malzbierbude1",
"connect": "51.38.118.21:28115",
"request": "51.38.118.21:28116",
"map": "Silverstone National",
"gamemode": "Project CARS 2",
"version": "1.0.0.64",
"numplayers": 0,
"maxplayers": 22,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1750671725,
"last_update": 1777233763,
"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": 19,
"language": "de",
"parked": false,
"app": {
"id": 6693,
"steam_id": 378860,
"name": "Project CARS 2",
"url": "project-cars-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/9588277");
$data = json_decode($json, true);
var_dump($data);