BRASILIA ROLEPLAY SERVIDOR 1 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 1857591,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": null,
"description": "",
"game": 9000035,
"owner": 47420,
"boosts": 1,
"last_offline": 1760508223,
"last_online": 1757894438,
"icon": null,
"name": "BRASILIA ROLEPLAY SERVIDOR 1",
"connect": null,
"request": null,
"map": "San Andreas",
"gamemode": "Blank Script",
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "CA",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1700249217,
"last_update": 1760508223,
"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": 1314,
"language": "en",
"parked": true,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": {
"username": "BlackCityRP",
"avatar": "f5f010cd-142d-4f5d-8c75-b034f6317d8b.jpg"
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/1857591");
$data = json_decode($json, true);
var_dump($data);