Rust
API pentru
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/8542790json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8542790,
"ip": "168.119.79.147",
"port": 28310,
"query": 28245,
"color": 0,
"city": "Falkenstein",
"description": "![[EU] SOLO ONLY | Beginner friendly | low unkeep](https://imgur.com/a/S6WVpi4.jpg)\nWelcome to our server ! \r\n The Perfect Start for Rust Beginners!\r\n The great server if you want to chill.\r\n Some pvp and raiding will never hurt.\r\n\r\nLooking for a chill Rust experience where you can learn the game without getting steamrolled? Looking for a server where you can improve your skills or just enjoy the game? You’ve found the right place.\r\n\r\n Wipe Schedule:\r\n➡️ Map Wipes: Monthly (no BP wipes) – plenty of time to build, explore, and thrive!\r\n\r\n Gameplay Style:\r\n- Vanilla+ – Mostly vanilla with a few minor QoL mods to make life easier\r\n- Lower Upkeep – Spend less time farming, more time having fun\r\n- Beginner-Friendly – A supportive place to learn and grow\r\n\r\n Rules:\r\n➡️ Solo Only – No teams, no base sharing, no alliances\r\n➡️ No Cheating – Obvious, but worth saying\r\n➡️ Respect Everyone – No toxicity, spam, or harassment\r\n➡️ Play Your Way – Build, raid, chill – just enjoy the game!\r\n\r\nWhether you're totally new or just want a more relaxed solo grind, this is your place. Come claim your corner of the map and start fresh!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776375171,
"score": 0,
"last_online": 1776238214,
"icon": null,
"name": null,
"connect": null,
"request": "168.119.79.147:28245",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1744755740,
"last_update": 1776375171,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 8669,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/8542790");
$data = json_decode($json, true);
var_dump($data);