Limelight Forums
Limelight API - Printable Version

+- Limelight Forums (https://limelightgaming.net/forums)
+-- Forum: Community (https://limelightgaming.net/forums/forum-195.html)
+--- Forum: Updates (https://limelightgaming.net/forums/forum-254.html)
+---- Forum: General & Services (https://limelightgaming.net/forums/forum-334.html)
+---- Thread: Limelight API (/thread-24089.html)



Limelight API - Doctor Internet - Jan 8, 2019

Hello Hello, time for another update.

Some of you might remember the Clan API. Well, it's dead. With some help from @Burnett, we've got a new API now. Based on the Bolt REST API base, with some LL specific upgrades, the Limelight API uses a unique routing system, automatic regex and a few other features.

So far, the old clan API has been migrated over to it, a new varient of the changelogs API has been written, along with a REP API and a news API. Whilst it's not yet in a position to have authentication or API keys or anything similar, the rapid expansion of the base since it's implementation leads us to think it won't be too long for more advanced APIs.

But Internet, how do I access it?
Currently, you can access it through api.limelightgaming.net. At the moment, only JSON responses are supported, but depending on what people need, we can look at supporting more.

What are the endpoints?
Currently, the list is somewhat limited, however.
Code:
GET / - Root, provides information and description.
GET /invalid - 404 page, default if no other route is matched.

GET /clans - List of all clans.
GET /clans/{id}, - Clan data, with=ranks,members
GET /clans/{id}/members, - List of clan members.
GET /clans/{id}/members/{sid}, - Data about clan member.
GET /clans/{id}/ranks, - List of clan ranks. with=perms
GET /clans/{id}/ranks/{rankid} - Specific rank data.

GET /news - Latest updates/announcements.
GET /news/updates - ^ but filtered.
GET /news/announcements - ^^ but filtered.

GET /changelogs - Changelog data.
GET /changelogs/total - Returns the total for equivalent queries sent to the above endpoint.

GET /reps - List of REPS.
GET /reps/{id} - Individual REP data.
GET /reps/player/{id} - REP per player.
GET /reps/admin/{id} - REP issued by a specific admin.
IDs for users are 64 bit steam ids.
Some endpoints support limit and skip arguments, just like the changelogs API.
Some endpoints (mainly in the clans area) support with arguments, for getting related data. For example, /clans/567 gets some basic data about the FBI. /clans/567?with=ranks gets both that basic data, and information about ranks.

How do I use different versions?
The first argument, before the endpoint, is also an optional version id. So you can set it there, if you need to use a specific version.
https://api.limelightgaming.net/v1/clans/567 == https://api.limelightgaming.net/clans/567

Thanks for reading, and I hope to enjoy seeing what people create with this.


RE: Limelight API - Noble - Jan 8, 2019

Some GET/POST endpoints for account balances would be sick


RE: Limelight API - Burnett - Jan 8, 2019

Great work Doctor! I am thrilled to see some new applications popping up! Lets go community!


RE: Limelight API - Doctor Internet - Jan 9, 2019

And another update. We now support Basic and Bearer authorisation.

New API Endpoints!
Code:
"GET \/keys\/{ key : string }: Retrieve a specific key from the server.",
"GET \/keys: Retrieve list of keys from the server.",
"POST \/keys: Generate a new API key.",
These endpoints all require either basic auth or bearer tokens. You can generate your own API keys for stuff, and we're hoping to expose more endpoints over time.

Thanks guys, and good luck with your apps.


RE: Limelight API - Doctor Internet - Mar 20, 2019

boop the snoot, watch this space etc.
let's get some documentation.
https://dev.limelightgaming.net/docs-api/

Using the really really nice looking Slate Documentation Generator, we now have documentation that is (fairly) up to date.


RE: Limelight API - Zaidplays - Mar 20, 2019

Nice job guys!


RE: Limelight API - pufitee - Mar 20, 2019

very good yes good job internet yes


RE: Limelight API - Markus - Mar 21, 2019

*slowly nods along acting like he knows anything about the topic*


RE: Limelight API - Pollux - Mar 21, 2019

neeeeeeeeeeeeerds


RE: Limelight API - Doctor Internet - Jun 30, 2020

hello pls new docs new link: https://limelight-development.github.io/api-main/


RE: Limelight API - Burnett - Jul 3, 2020

Impressive Internet!!
Those new docs are so rich of information, I urge all of our (and external) Web/App Developers to make use of the API. Especially now with those new /v3/ server status endpoints.

All future services SHOULD use the API. Existing services will be updated to using it, too.


RE: Limelight API - Vauld - Jul 18, 2020

sent a GET request and got stuff, 10/10