Rust
[PT] Cabanas do Viriato için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/9484863json
{
"response": {
"fps": 64,
"fps_avg": 62,
"entities_count": 78203,
"world_seed": 2468842,
"world_size": 3750,
"steam_id": "90284373891635207",
"domain": null,
"id": 9484863,
"ip": "185.172.57.184",
"port": 25575,
"query": 27017,
"color": 0,
"city": "Paris",
"description": "Bem-vindo ao Cabanas do Viriato 🇵🇹\r\n- Servidor português para jogadores justos e amigáveis.\r\n- Cheating ou exploits não são tolerados.\r\n- Sem racismo, spam, insultos ou discriminação.\r\n- Contas com bans VAC ou Rust não são permitidas.\r\n- Estamos a desenvolver um mini-site com estatísticas e novidades!\r\nJoga com fairplay e ajuda-nos a crescer! \r\nWelcome to Cabanas do Viriato 🇵🇹\r\n- Portuguese Rust server for fair and friendly players.\r\n- No cheating or exploits — zero tolerance.\r\n- No racism, spam, slurs, or discrimination.\r\n- No VAC or game bans on previous accounts.\r\n- We’re working on a mini-website with stats and server info!\r\nPlay fair, have fun and help us grow the community!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776201114,
"score": 0,
"last_online": 1777666225,
"icon": null,
"name": "[PT] Cabanas do Viriato",
"connect": "185.172.57.184:25575",
"request": "185.172.57.184:27017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1748455719,
"last_update": 1777666225,
"banned": false,
"wipe": 1776201518,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3563,
"language": "fr",
"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/9484863");
$data = json_decode($json, true);
var_dump($data);