Squad
[J4F] #1 Chilled & Friendly (Just4Fun) www.j4f.org.uk için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11142668json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11142668,
"ip": "81.16.176.136",
"port": 7789,
"query": 7789,
"color": 0,
"city": "Solihull",
"description": null,
"game": 393380,
"owner": null,
"boosts": 1,
"last_offline": 1778539339,
"score": 0,
"last_online": 1778212905,
"icon": null,
"name": "[J4F] #1 Chilled & Friendly (Just4Fun) www.j4f.org.uk",
"connect": "81.16.176.136:7789",
"request": "81.16.176.136:7789",
"map": "Harju_Seed_v1",
"gamemode": "Seed",
"version": "v10.4.0.601191.2111",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1770804052,
"last_update": 1778539339,
"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": 285,
"language": "en",
"parked": false,
"app": {
"id": 137,
"steam_id": 393380,
"name": "Squad",
"url": "squad"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11142668");
$data = json_decode($json, true);
var_dump($data);