GravityGunOnly.com | Survival | Hard | 10 Waves için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90285747495425043",
"domain": null,
"id": 11665454,
"ip": "37.187.29.143",
"port": 7778,
"query": 7779,
"project_id": null,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1780179128,
"last_online": 1781095915,
"icon": null,
"name": "GravityGunOnly.com | Survival | Hard | 10 Waves",
"connect": "37.187.29.143:7778",
"request": "37.187.29.143:7779",
"map": "KF-Biohazard",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780179128,
"last_update": 1781095915,
"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": 792,
"language": "fr",
"parked": false,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11665454");
$data = json_decode($json, true);
var_dump($data);