Red Orchestra: Ostfront 41-45
***Play-to-have-Fun***=>Infantry/Sniper/Tank<=*** için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/4311853json
{
"response": {
"steam_id": 90284532187432980,
"domain": null,
"id": 4311853,
"ip": "142.132.192.19",
"port": 7757,
"query": 28902,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 1200,
"owner": null,
"boosts": 1,
"last_offline": 1772890946,
"score": 0,
"last_online": 1776420121,
"icon": null,
"name": "***Play-to-have-Fun***=>Infantry/Sniper/Tank<=***",
"connect": "142.132.192.19:7757",
"request": "142.132.192.19:28902",
"map": "RO-Maslova_1943_Version_45min_o",
"gamemode": "Red Orchestra Beta",
"version": "1.0.8.7",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1715945529,
"last_update": 1776420121,
"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": 1,
"language": "de",
"parked": false,
"app": {
"id": 93,
"steam_id": 1200,
"name": "Red Orchestra: Ostfront 41-45",
"url": "red-orchestra-ostfront-41-45"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/4311853");
$data = json_decode($json, true);
var_dump($data);