Counter-Strike 2
[CS2] PLAY.COMPE.RO | Competitive Romania | ELO Ranking 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/11254566json
{
"response": {
"steam_id": "85568392936030984",
"domain": null,
"id": 11254566,
"ip": "89.37.212.145",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Sfântu Gheorghe",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1775710924,
"score": 0,
"last_online": 1775938236,
"icon": null,
"name": "[CS2] PLAY.COMPE.RO | Competitive Romania | ELO Ranking",
"connect": "89.37.212.145:27015",
"request": "89.37.212.145:27015",
"map": "de_dust2",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "RO",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774554574,
"last_update": 1775938236,
"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": 12254,
"language": "ro",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11254566");
$data = json_decode($json, true);
var_dump($data);