Rust
JP ONLY 2WEEK SOLO/DUO/TORIO#71 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/1035627json
{
"response": {
"fps": 95,
"fps_avg": 104,
"entities_count": 82573,
"world_seed": 1973168218,
"world_size": 3500,
"steam_id": "90284754206332957",
"domain": null,
"id": 1035627,
"ip": "162.43.17.235",
"port": 28015,
"query": 29015,
"color": 0,
"city": "Chiyoda City",
"description": "No server description has been provided.初心者かんげい!次回マップワイプ予定7/21。チームは3人までです。くわしいじょうほうは、左下のWebサイトを表示からかくにんしてください。https://discord.gg/BA4t9FYKQa",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776542002,
"score": null,
"last_online": 1776858019,
"icon": null,
"name": "JP ONLY 2WEEK SOLO/DUO/TORIO#71",
"connect": "162.43.17.235:28015",
"request": "162.43.17.235:29015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 4,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1688593613,
"last_update": 1776858019,
"banned": false,
"wipe": 1776392899,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 981,
"language": "ja",
"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/1035627");
$data = json_decode($json, true);
var_dump($data);