Counter-Strike
[U]S Deadly Fun 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/205753json
{
"response": {
"steam_id": null,
"domain": "df.umb.su",
"id": 205753,
"ip": "62.122.215.107",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"TzxXLXBHlc\",\"type\":\"paragraph\",\"data\":{\"text\":\"Простой CSDM, простое веселье. Ничего лишнего.\"}}]",
"game": 10,
"owner": 123965,
"boosts": 1,
"last_offline": 1775685125,
"score": null,
"last_online": 1775892011,
"icon": null,
"name": "[U]S Deadly Fun",
"connect": "df.umb.su:27016",
"request": "62.122.215.107:27016",
"map": "fy_snow",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 2,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1582844999,
"last_update": 1775892011,
"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": 1664,
"language": "ru",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "UmbrellaServers",
"avatar": "df2c3bb6-0287-4ac7-a43b-3d7ec1621304.jpg",
"last_online": 1763364878
},
"mods": [
{
"id": 1634,
"name": "AMX-Mod-X"
}
],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/205753");
$data = json_decode($json, true);
var_dump($data);