ShadowedLeaves
Member
- Joined
- August 7, 2024
- Messages
- 8
- Points
- 7
- Age
- 16
- IGN
- ShadowedLeaves
Jartex Network API
An API (Application Programming Interface) is a set of rules and tools that allow different software systems to communicate with each other. It defines the methods and data formats that applications can use to request services or exchange data.
Despite not many players knowing about this, Jartex Network has their own public API.
(A public API is open for anyone to use, while a private API is restricted to specific users or internal applications)
API URL:
https://stats.jartexnetwork.com/apiGet Player Data
URL:https://stats.jartexnetwork.com/api/profile/{username}{username} is a string that can be replaced with the username of any player on Jartex Network (e.g. ShadowedLeaves)Click here for an example using
{username}=fyiResponses
200 - Successfully retrieved player data404 - Username was not found
429 - Rate limit reached
Retrieved Data
discord_verified
lastSeen
ranks
email_verified
discord_boosting
clan (Guild Name, Guild Tag, Guild Trophies, Guild Creation Time, Guild Members)
rank (Level, Experience, Percentage, Rank Display)
friends
username
lastSeen
ranks
email_verified
discord_boosting
clan (Guild Name, Guild Tag, Guild Trophies, Guild Creation Time, Guild Members)
rank (Level, Experience, Percentage, Rank Display)
friends
username
Get Recap Data
URL:https://stats.jartexnetwork.com/api/recaps/{id}{id} is a string that can be replaced with the UUID of a BedWars game (You can obtain the UUID of a BedWars game by typing /recap in a BedWars lobby. Select a BedWars game and click Copy to obtain a link with the UUID)Click here for an example using the BedWars
{id}=5e47a70e-d353-4ef0-989a-7041370422dcResponses
200 - Successfully retrieved recap data400 - Invalid recap ID
404 - Recap was not found
429 - Rate limit reached
Retrieved Data
id
mapName
gameType
gameServerName
gameStart
gameDuration
users (Blocks moved, Kills, Resources collected, Blocks placed, Deaths, Time of death, Time of death (ms), Items bought, Assists, Beds destroyed)
winners
mapName
gameType
gameServerName
gameStart
gameDuration
users (Blocks moved, Kills, Resources collected, Blocks placed, Deaths, Time of death, Time of death (ms), Items bought, Assists, Beds destroyed)
winners
Get Collective Leaderboard Data
URL:https://stats.jartexnetwork.com/api/leaderboards/total?type={gamemode}&interval={interval}{gamemode} is a string that can be replaced with a gamemode on Jartex Network{interval} is a string that can be replaced with the time interval at which you want the statistics to be displayed (weekly monthly total)Click here for an example using
{gamemode}=bedwars & {interval}=totalResponses
200 - Successfully retrieved collective leaderboard data429 - Rate limit reached
Retrieved Data
Kills
Wins
Games played
Final kills
Final deaths
Beds destroyed
Deaths
Losses
Melee kills
Bow kills
Void kills
Arrows shot
Arrows hit
Wins
Games played
Final kills
Final deaths
Beds destroyed
Deaths
Losses
Melee kills
Bow kills
Void kills
Arrows shot
Arrows hit
Get Leaderboard Entries
URL:https://stats.jartexnetwork.com/api/leaderboards?type={gamemode}&mode={mode}&interval={interval}&stat={stat}&offset={offset}&limit={limit}{gamemode} is a string that can be replaced with a gamemode on Jartex Network{mode} is a string that can be replaced with the Bedwars game mode(applies ONLY to BedWars) (SOLO DOUBLES TRIPLES QUADS ALL_MODES){interval} is a string that can be replaced with the time interval at which you want the statistics to be displayed (weekly monthly total){stat} is a string that can be replaced with a specific statistic to get the leaderboard of (Kills Deaths Wins Losses){offset} is an OPTIONAL integer that determines where the leaderboard should start from (Default=0, e.g. 1 offset would start from Place #2){limit} is an OPTIONAL integer that can limit the amount of entries shown (1-25)Click here for an example using
{gamemode}=bedwars & {mode}=ALL_MODES & {interval}=total & {stat}=Wins & {limit}=5Responses
200 - Successfully retrieved leaderboard entries data400 - Invalid query
429 - Rate limit reached
Retrieved Data
Metadata
Entries (Place, Value, ID, Clan)
Entries (Place, Value, ID, Clan)
Get Player Leaderboard Entries
URL:https://stats.jartexnetwork.com/api/profile/{username}/leaderboard?type={gamemode}&interval={interval}&mode={mode}{username} is a string that can be replaced with the username of any player on Jartex Network (e.g. ShadowedLeaves){gamemode} is a string that can be replaced with a gamemode on Jartex Network{interval} is a string that can be replaced with the time interval at which you want the statistics to be displayed (weekly monthly total){mode} is a string that can be replaced with the Bedwars game mode(applies ONLY to BedWars) (SOLO DOUBLES TRIPLES QUADS ALL_MODES)Click here for an example using
{username}=ShadowedLeaves & {gamemode}=bedwars & {interval}=total & {mode}=ALL_MODESResponses
200 - Successfully retrieved player leaderboard entries data400 - Invalid query
404 - Username was not found
429 - Rate limit reached
Retrieved Data
Bow kills
Kills
Games played
Final deaths
Arrows shot
Highest winstreak reached
Beds destroyed
Arrows hit
Losses
Melee kills
Final kills
Deaths
Void kills
Wins
Entries (Place, Value, ID)
Kills
Games played
Final deaths
Arrows shot
Highest winstreak reached
Beds destroyed
Arrows hit
Losses
Melee kills
Final kills
Deaths
Void kills
Wins
Entries (Place, Value, ID)
DM
shadowedleaves_ on Discord if you find any errors or things to clarify on.