Project Asylum | 2/3/5x | Geared towards Adults için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286740216626195",
"domain": null,
"id": 10741077,
"ip": "78.108.218.2",
"port": 28019,
"query": 28020,
"project_id": null,
"color": 0,
"city": "Ashburn",
"description": "We are a server that aims to gear towards adult players of Rust. We don't like children ruining our experience, and we also don't have weeks to waste on bases that just get destroyed. Come play with us on the Asylum, if you are insane enough.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780895659,
"last_online": 1780927836,
"icon": null,
"name": "Project Asylum | 2/3/5x | Geared towards Adults",
"connect": "78.108.218.2:28019",
"request": "78.108.218.2:28020",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2627",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1766250788,
"last_update": 1780927836,
"banned": false,
"wipe": 1780895804,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4098,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10741077");
$data = json_decode($json, true);
var_dump($data);