Soulmask Server by G-Portal.com için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286619105485855",
"domain": null,
"id": 11574152,
"ip": "194.140.197.41",
"port": 28600,
"query": 28615,
"project_id": null,
"color": 0,
"city": "Orangeburg",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1780632257,
"last_online": 1780677092,
"icon": null,
"name": "Soulmask Server by G-Portal.com",
"connect": "194.140.197.41:28600",
"request": "194.140.197.41:28615",
"map": "Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779356759,
"last_update": 1780677092,
"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": 2415,
"language": "en",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11574152");
$data = json_decode($json, true);
var_dump($data);