Suggestions

Back

Cubedcraft API



Supercrafter100 Supercrafter100: over 4 years ago

( Read on website for full explenation )
So I suggest adding an api for the network. It will make us developers get a lot more info about players / servers / statistics overall to improve and make discord bots / add cool stuff in playerservers.

Here is what I suggest it would look like:

Since we have both the www.cubedcraft.com and www.playerservers.com, we can always make it www.api.cubedcraft.com and www.api.playerservers.com

A few features I would like to see on the api is a way to get all online playerservers, get info about a specific server (the information the current playerserver api displays), all players, and information about a specific player.

I think the url should be structured a little like:

https://www.api.cubedcraft.com/getPlayers - This could display all online players ( on all proxies )
https://www.api.cubedcraft.com/getPlayer?username=Supercrafter100 - This will display information about a player like points, last logout, first join, amount of votes, etc.
https://www.api.playerservers.com/getServers - This could display all online playerservers
https://www.api.playerservers.com/getServer?servername=Parkour4youv2 - This will display all the information the current playerserver api will display.

These are just a few examples and I hope a lot more features could be added. Like adding a way to edit files with the api, log into your account with it, etc

The api would primarily be used by experienced developers and probably wont get used a lot at all. But at least the well experienced developers can do the work for other players. And let everyone see why an api is so useful and helpful.

I think we could always check out the minehut api. They have a lot of features with it and it could be a good inspiration point for urls.

( link: https://api.bennydoesstuff.me/ )

Best regards,
Supercrafter100


4
0

Comments

Jeroeno_Boy Jeroeno_Boy: over 4 years ago

www.api.playerservers.com sounds kinda gay, just say api.playerservers.com

PondWader PondWader: over 4 years ago

I think more capabilities with the API would be great.

Supercrafter100 Supercrafter100: over 4 years ago

Yeah I was just giving some examples. But A lot more capabilities would be amazing

Supercrafter100 Supercrafter100: over 4 years ago

btw everyone make sure to like suggestions on the website so party can filter them. He never checks votes in the discord anyways.

Partydragen Partydragen: over 4 years ago

Suggestion marked as In Progress
http://api.playerservers.com/

Partydragen Partydragen: over 3 years ago

Progress update:

Servers endpoint is now showing displayitem, also fixed server endpoint showing wrong displayitem when its on free plan,
Server endpoint always showing maxPlayers now even when its offline,
Player endpoint is now showing groups, network exp and level and guild name is always being displayed now

Search Keyword


Suggestion

Views
1735
Likes
4
Dislikes
0
Category
Network
Status
In progress