Team Fortress 2
-[DISC-FF.com]- |24/7 Slender Fortress #1| [Scary!] 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/2855json
{
"response": {
"steam_id": 85568392922866850,
"domain": null,
"id": 2855,
"ip": "74.91.113.50",
"port": 27019,
"query": 27019,
"color": 0,
"city": "Greenville",
"description": "",
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1774697544,
"score": null,
"last_online": 1775929814,
"icon": null,
"name": "-[DISC-FF.com]- |24/7 Slender Fortress #1| [Scary!]",
"connect": "74.91.113.50:27019",
"request": "74.91.113.50:27019",
"map": "slender_sanatorium_b2c",
"gamemode": "SF2M Rewrite (1.8.0 M RC1)",
"version": "10515055",
"numplayers": 18,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1501541170,
"last_update": 1775929814,
"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": 87,
"language": "en",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/2855");
$data = json_decode($json, true);
var_dump($data);