Samp
BRASIL MATA MATA COMBATE EM SAN FIERRO के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/4785252json
{
"response": {
"steam_id": null,
"domain": null,
"id": 4785252,
"ip": "149.56.41.49",
"port": 7784,
"query": 7784,
"color": 0,
"city": "Montreal",
"description": "",
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1773057130,
"score": 0,
"last_online": 1776377458,
"icon": null,
"name": "BRASIL MATA MATA COMBATE EM SAN FIERRO",
"connect": "149.56.41.49:7784",
"request": "149.56.41.49:7784",
"map": "SAN FIERRO - BRASIL CSF",
"gamemode": "BRASIL MATA MATA/STUNT/DRIFT/R",
"version": "0.3.7-R2",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1718269557,
"last_update": 1776377458,
"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": 372,
"language": "en",
"parked": false,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/4785252");
$data = json_decode($json, true);
var_dump($data);