Rust
Rust CPT Vanilla | Solo Duo Trio Only için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11159885json
{
"response": {
"steam_id": "90284742197560345",
"domain": null,
"id": 11159885,
"ip": "141.11.59.200",
"port": 10003,
"query": 9003,
"color": 0,
"city": "Johannesburg",
"description": "\n# Welcome to Rust CPT Vanilla - Enjoy your Stay\r\n# This is a Vanilla PVP Server \r\n# The server map and BP's wipes Bi-Weekly\r\n# Reminder: Don't be a DOO$, be LEKKA\r\n# Maximum team size is 3, no allies\r\n# The Owner is active and does not play.\r\n# Have fun and enjoy the PVP journey and experience",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776882750,
"score": 0,
"last_online": 1776838379,
"icon": null,
"name": "Rust CPT Vanilla | Solo Duo Trio Only",
"connect": "141.11.59.200:10003",
"request": "141.11.59.200:9003",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "ZA",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1772228145,
"last_update": 1776882750,
"banned": false,
"wipe": 1776365644,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 8820,
"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/11159885");
$data = json_decode($json, true);
var_dump($data);