Garry's Mod
[FR]Cité Saphir | DarkRP | Serious RP için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10511480json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10511480,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Cherbourg",
"description": null,
"game": 4000,
"owner": 144816,
"boosts": 1,
"last_offline": 1768024266,
"score": 0,
"last_online": 1767121216,
"icon": null,
"name": "[FR]Cité Saphir | DarkRP | Serious RP",
"connect": null,
"request": null,
"map": "rp_rockford_v2b",
"gamemode": "DarkRP",
"version": null,
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": false,
"private": false,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1761422497,
"last_update": 1768024266,
"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": 3746,
"language": "fr",
"parked": true,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": {
"username": "X_olli",
"avatar": "no.jpg",
"last_online": 1762612418
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10511480");
$data = json_decode($json, true);
var_dump($data);