Public API

Official Documentation for JoshuaLovesCode's Public API Endpoints.

These API endpoints are new and still in Beta, please report bugs in the Discord Server!

Welcome to the Official Public API Docs!

If you need advice with any element of the API, please feel free to reach out to me in my Official Support Discord.

get
Plugin Version

https://api.joshualovescode.dev/v3/plugin/version/:id
This endpoint allows you to get the latest version of a resource on SpigotMC.org
Request
Response
Request
Path Parameters
id
required
string
ID of the SpigotMC Resource.
Response
200: OK
{
"status": "200",
"status_des": "OK",
"plugin_id": "ID",
"version": "VERSION"
}
400: Bad Request
{
"status": "400",
"status_des": "Bad request"
}

get
Plugin Downloads

https://api.joshualovescode.dev/v3/plugin/downloads/:id
This endpoint allows you to get the total number of downloads of a resource on SpigotMC.org
Request
Response
Request
Path Parameters
id
required
string
ID of the SpigotMC Resource.
Response
200: OK
{
"status": "200",
"status_des": "OK",
"plugin_id": "ID",
"downloads": DOWNLOADS
}
400: Bad Request
{
"status": "400",
"status_des": "Bad request"
}

get
Songoda Discord

https://api.joshualovescode.dev/v3/songoda/discord/:username
This endpoint allows you to get the Discord username/tag of a Songoda account.
Request
Response
Request
Path Parameters
username
required
string
Username of Songoda account.
Response
200: OK
{
"status": "200",
"status_des": "OK",
"username": "USERNAME",
"discord": "DISCORD_USERNAME#DISCORD_ID"
}
400: Bad Request
{
"status": "400",
"status_des": "Bad request"
}

get
Songoda Avatar

https://api.joshualovescode.dev/v3/songoda/avatar/:username
This endpoint allows you to get the avatar of a Songoda account.
Request
Response
Request
Path Parameters
username
required
string
Username of Songoda Account
Response
200: OK
{
"status": "200",
"status_des": "OK",
"username": "USERNAME",
"avatar": "AVATAR_URL"
}
400: Bad Request
{
"status": "400",
"status_des": "Bad request"
}