Login
Sign Up


You are using the mobile version of the forum, some features have been disabled to have it responsive.
Limelight Reunion 2024 - v4b1Limelight Discord
Ares Defence Services Discord
Limelight Reunion 2024 - v4b1Limelight DiscordAres Defence Services Discord

receiptDevelopment Blog:

Development Contributor Workflow

receiptHR Blog:

What *are* they doing over there?

receiptTeacher Blog:

Insight into the Teacher Team

receiptDevelopment Blog:

Infrastructure Upgrade 11/2019

receiptDevelopment Blog:

how suggestions???

receiptDevelopment Blog:

Planning for the future.


This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Clan API
Doctor Internet radio_button_checked
Management, Developer, Administrator, Business Adviser, DPO, Security
Core Manager
Posts: 12,562
Threads: 1,763
Likes Given: 425
Likes Recieved: 3474 in 1671 posts
Joined: Aug 2015
Reputation: 35
#1
Dec 29, 2017, 11:19 AM
A year ago, @goigle asked for a Clan API. We delivered.

Note: This is really aimed at people who have their own websites for their clans, with Steam Auth, to validate members and their ranks. It doesn't have much use for the general members.

API Base URL: https://limelightgaming.net/api/
This will return a 403, but you need to use a specific endpoint.

API Input Format. The APIs take GET params as input. Input can either be in the form of JSON, passed to the "input" GET param, or as individual GET params.
Upon error, the APIs return either an HTTP Error 400 or 500, depending on where the error occured. Along with this, additional data is returned via json (format param is ignored for this, errors are always returned as json)

All APIs accept "format" param to specific an output format. Acceptable Values: none, plain, json, json-pretty, xml

All APIs share a set of generic errors, from 1 to 100:
Code:
HTTP Code - Error Code - Error Type
400 - 1 - GET Array not specified.
400 - 2 - Missing Params.
400 - 3 - Malformed JSON.
400 - 4 - Bad Numeric Input.


Clan API - /clan/
Inputs:
Code:
id - Required - Clan ID to lookup.
Return:
Code:
clan member - 
    steamid
    name
    rankid

clan members - (array of clan member)

rank -
    rankid
    rankname

ranks - (array of rank)
Errors: 1001 - 1010
Code:
500 - 1001 - No clan found.
500 - 1002 - No rank data.
500 - 1003 - No clan members.


Clan Listing - /clan/list
Inputs:
Return:
Code:
clan - 
    name
    clanid

clans - (array of clan)
Errors: 1011 - 1020
Code:
500 - 1011 - No clans found.


We're hoping to expand this to include other things, but that's at a fairly low priority for us at the moment.
If there's something specific that you guys need to integrate Limelight into other services, feel free to pop a suggestion down.
For Data Protection Queries, please email info@limelightgaming.net.
For Business, Contributor or Development queries, please PM me.
For Appeals, please post in the relevant subforum.
For Security Information, your best bet is to speak to Burnett.
The following 10 users Like Doctor Internet's post:
  • Bambo, D3ST, Nacreas, Night, Quest, Rizion, roxas, Slowkiller965, Termin, Wesley Lawrence
roxas radio_button_checked
My mum says I'm special :3
Veteran Member
Posts: 628
Threads: 11
Likes Given: 1002
Likes Recieved: 479 in 250 posts
Joined: Jul 2017
Reputation: 13
#2
Dec 29, 2017, 11:34 AM
Let's hope more clans will hop in there Big Grin

Good job!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Image: yIF4bvc.png]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(Traps are not gay btw)



Zona radio_button_checked
Norwegian
Media Contractor
Posts: 440
Threads: 55
Likes Given: 478
Likes Recieved: 174 in 125 posts
Joined: Feb 2016
Reputation: 10
#3
Dec 29, 2017, 02:07 PM
Sounds very good!
[Image: 6xq4u5x.png]
Rizion radio_button_checked
Member
Membership
Posts: 495
Threads: 54
Likes Given: 251
Likes Recieved: 201 in 133 posts
Joined: Feb 2017
Reputation: 2
#4
Dec 29, 2017, 02:17 PM
finally.
[Image: pLJqlyv.png]
Credits: Bambo
Cooli radio_button_checked
Member
Membership
Posts: 1,998
Threads: 88
Likes Given: 447
Likes Recieved: 823 in 616 posts
Joined: Oct 2015
Reputation: 24
#5
Dec 29, 2017, 03:16 PM
Looks like a great start.




Users browsing this thread: 1 Guest(s)