Insurgency: Sandstorm
VLBG_Sandstorm_COOP_2nd için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10678966json
{
"response": {
"steam_id": "85568392934727788",
"domain": null,
"id": 10678966,
"ip": "159.195.54.172",
"port": 27102,
"query": 27131,
"color": 0,
"city": "Karlsruhe",
"description": null,
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1773700921,
"score": 0,
"last_online": 1776410499,
"icon": null,
"name": "VLBG_Sandstorm_COOP_2nd",
"connect": "159.195.54.172:27102",
"request": "159.195.54.172:27131",
"map": "Canyon",
"gamemode": "Checkpoint",
"version": "1.1.0.0",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1764582759,
"last_update": 1776410499,
"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": 256,
"language": "de",
"parked": false,
"app": {
"id": 23489,
"steam_id": 581320,
"name": "Insurgency: Sandstorm",
"url": "insurgency-sandstorm"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10678966");
$data = json_decode($json, true);
var_dump($data);