SCP: 5K (Alpha Testing)
Getsu Fune's Co-op Server 1 (Area12, 2xEnemySpawn) için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/3348213json
{
"response": {
"steam_id": "90285162087907352",
"domain": null,
"id": 3348213,
"ip": "101.34.75.159",
"port": 7781,
"query": 27020,
"color": 0,
"city": "Shanghai",
"description": "",
"game": 872670,
"owner": null,
"boosts": 1,
"last_offline": 1776660805,
"score": 1,
"last_online": 1777563051,
"icon": null,
"name": "Getsu Fune's Co-op Server 1 (Area12, 2xEnemySpawn)",
"connect": "101.34.75.159:7781",
"request": "101.34.75.159:27020",
"map": "M_ServerDefault",
"gamemode": "Campaign",
"version": "0.4.1.0",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1710080150,
"last_update": 1777563051,
"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": 2,
"language": "zh",
"parked": false,
"app": {
"id": 51883,
"steam_id": 872670,
"name": "SCP: 5K (Alpha Testing)",
"url": "scp-5k-alpha-testing"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/3348213");
$data = json_decode($json, true);
var_dump($data);