Insurgency
TEST TEST TEST için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11180981json
{
"response": {
"steam_id": "90283545007345686",
"domain": null,
"id": 11180981,
"ip": "109.107.190.63",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 222880,
"owner": null,
"boosts": 1,
"last_offline": 1774533721,
"score": 0,
"last_online": 1776521440,
"icon": null,
"name": "TEST TEST TEST",
"connect": "109.107.190.63:27015",
"request": "109.107.190.63:27015",
"map": "hideout_new",
"gamemode": "Insurgency",
"version": "2.4.2.4",
"numplayers": 1,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1772229668,
"last_update": 1776521440,
"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": 31,
"language": "fi",
"parked": false,
"app": {
"id": 13,
"steam_id": 222880,
"name": "Insurgency",
"url": "insurgency"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11180981");
$data = json_decode($json, true);
var_dump($data);