Curl cmd line
Budget: $10 – $15 USD
Hello, i need a CURL CMD line to fetch special data as variable on bin bash.
The command with what i tryed:
curl -n https://api.battlemetrics.com/servers/11613825
Output:
{"data":{"type":"server","id":"11613825","attributes":{"id":"11613825","name":"[EU]The Hive SOLO only VANILLA! - FULL WIPED 17.08 19:00 CEST","address":null,"ip":"91.218.66.72","port":28015,"players":3,"maxPlayers":200,"rank":3797,
I need only the output from "players" means the number 3
The number is variable and change sometimes, so the cmd line musst know that.
The command with what i tryed:
curl -n https://api.battlemetrics.com/servers/11613825
Output:
{"data":{"type":"server","id":"11613825","attributes":{"id":"11613825","name":"[EU]The Hive SOLO only VANILLA! - FULL WIPED 17.08 19:00 CEST","address":null,"ip":"91.218.66.72","port":28015,"players":3,"maxPlayers":200,"rank":3797,
I need only the output from "players" means the number 3
The number is variable and change sometimes, so the cmd line musst know that.