No More Room in Hell
için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11488974json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11488974,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Guangzhou",
"description": null,
"game": 224260,
"owner": null,
"boosts": 1,
"last_offline": 1776093070,
"score": 0,
"last_online": 1776000091,
"icon": null,
"name": null,
"connect": null,
"request": null,
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": null,
"private": true,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1775957032,
"last_update": 1776093070,
"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": 301,
"language": "zh",
"parked": true,
"app": {
"id": 6,
"steam_id": 224260,
"name": "No More Room in Hell",
"url": "no-more-room-in-hell"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11488974");
$data = json_decode($json, true);
var_dump($data);