VEIN Server için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90284367596123144",
"domain": null,
"id": 11577204,
"ip": "137.74.4.108",
"port": 5541,
"query": 5682,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 1857950,
"owner": null,
"boosts": 1,
"last_offline": 1779356866,
"last_online": 1780550448,
"icon": null,
"name": "VEIN Server",
"connect": "137.74.4.108:5541",
"request": "137.74.4.108:5682",
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": "0.023h4",
"numplayers": 1,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": true,
"country": "PL",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1779356866,
"last_update": 1780550448,
"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": 235,
"language": "pl",
"parked": false,
"app": {
"id": 1530675,
"steam_id": 1857950,
"name": "VEIN",
"url": "vein"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11577204");
$data = json_decode($json, true);
var_dump($data);