Counter-Strike 2
👑 RESAND.ONLINE - SANDSTONE SNOW için API
Geniş bir entegrasyon yöntemleri yelpazesi sunuyoruz. Bunlardan herhangi birini kullanabilir veya JSON API'sini kullanarak kendinizinkini oluşturabilirsiniz. Yeni bir entegrasyon yöntemi ekleme öneriniz varsa, lütfen bizimle iletişime geçin. Bizimle iletişime geçin
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10694790json
{
"response": {
"steam_id": "85568392935662127",
"domain": null,
"id": 10694790,
"ip": "45.95.31.79",
"port": 27215,
"query": 27215,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"pX-U7p_-dy\",\"type\":\"paragraph\",\"data\":{\"text\":\"Главная миссия проекта - это создание дружного комьюнити игроков.\\nЕсли ты хочешь играть, общаться и завести друзей - тебе сюда.\"}}]",
"game": 730,
"owner": 64684,
"boosts": 1,
"last_offline": 1771401094,
"score": 5,
"last_online": 1775931610,
"icon": null,
"name": "👑 RESAND.ONLINE - SANDSTONE SNOW",
"connect": "45.95.31.79:27215",
"request": "45.95.31.79:27215",
"map": "sandstone_snow_resand",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 26,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 33,
"points": 123,
"add_date": 1764605180,
"last_update": 1775931610,
"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": 77,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "vladplav92",
"avatar": "no.jpg",
"last_online": 1775780126
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10694790");
$data = json_decode($json, true);
var_dump($data);