Counter-Strike 2
FORCEBUY.RU | ANCIENT | DM FAST RESPAWN için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11489171json
{
"response": {
"steam_id": "90284557575059458",
"domain": null,
"id": 11489171,
"ip": "178.78.46.43",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Krasnodar",
"description": null,
"game": 730,
"owner": 188080,
"boosts": 1,
"last_offline": 1776263514,
"score": 0,
"last_online": 1776516673,
"icon": null,
"name": "FORCEBUY.RU | ANCIENT | DM FAST RESPAWN",
"connect": "178.78.46.43:27015",
"request": "178.78.46.43:27015",
"map": "de_ancient",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1776167690,
"last_update": 1776516673,
"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": 683,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "maslov_v_v",
"avatar": "no.jpg",
"last_online": 1776430850
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11489171");
$data = json_decode($json, true);
var_dump($data);