Samp
•••ClassicPartyServer™[CPS]®24/7••• @1shot1kill.pl के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11488246json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11488246,
"ip": "91.224.117.19",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Gdynia",
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1776047512,
"score": 0,
"last_online": 1776364607,
"icon": null,
"name": "•••ClassicPartyServer™[CPS]®24/7••• @1shot1kill.pl",
"connect": "91.224.117.19:7777",
"request": "91.224.117.19:7777",
"map": "Server-CPS.com",
"gamemode": "ENG|PL|NR2.2.9a|0.3.7|CPS",
"version": "0.3.7-R2",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": null,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1775469703,
"last_update": 1776364607,
"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": 932,
"language": "pl",
"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/11488246");
$data = json_decode($json, true);
var_dump($data);