Gallifrey Playground için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"revision": "266968",
"protocol": 1101,
"gameident": "apetavern.aperp",
"mapident": "rpdowntown3t",
"hidden": false,
"api": 25,
"steam_id": "90286010222626845",
"domain": null,
"id": 11638176,
"ip": "45.45.238.74",
"port": 37065,
"query": 37066,
"color": 0,
"city": "Chicago",
"description": null,
"game": 590830,
"owner": null,
"boosts": 1,
"last_offline": 1779917206,
"last_online": 1780547561,
"icon": null,
"name": "Gallifrey Playground",
"connect": "45.45.238.74:37065",
"request": "45.45.238.74:37066",
"map": "rpdowntown3t",
"gamemode": "Northbound RP",
"version": "266968",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779917206,
"last_update": 1780547561,
"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": 54,
"language": "en",
"parked": false,
"app": {
"id": 1646716,
"steam_id": 590830,
"name": "s&box",
"url": "sbox"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11638176");
$data = json_decode($json, true);
var_dump($data);