GGS.SX API | Guide

11 days ago
#28606
GGS.SX Kaptian Core's Profile Picture
GGS.SX Kaptian
Core
Administrator
1560 Posts
Member Since
September 2018
RP Name
Russ Rbt
Police Rank
Superintendent
Total Playtime
50 days, 15 hours, 20 minutes and 1 seconds


How To Request The Data With Axios


let response = await axios.get(`https://ggs.sx/pre-prod/api/v1/user/discord/${DISCORDIDHERE}?api_token=${APITOKEN}/`)


There Is Quite Alot Of Endpoints That I Can't Be Bothered Right Now To List (Johnny If You Could Give Me A List Of Endpoints Rather Than Me Manually Listing Them)


Message Me If You Get An API Key And Need Help


GGS.SX API Docs
Edited
11 days ago
#155366
wet pickles
Humanitarian
702 Posts
Member Since
April 2018
RP Name
Jimmy Rbt
Police Rank
Constable
Total Playtime
76 days, 6 hours, 6 minutes and 45 seconds
I am retarded
Edited
11 days ago
#155368
[.Critical404.
]
Philanthropist
1204 Posts
Member Since
August 2017
RP Name
Jerms Jerms
Police Rank
Not Whitelisted
Total Playtime
75 days, 14 hours, 30 minutes and 13 seconds
NO WAY
A LINE OF CODE!
11 days ago
#155370
ThatWhite
Contributor
1114 Posts
Member Since
April 2018
RP Name
Jay Jay
Police Rank
Not Whitelisted
Total Playtime
98 days, 11 hours, 50 minutes and 39 seconds
Okay, can you please link the API key for GGS please :)
11 days ago
#155372
GGS.SX Kaptian
Core
Administrator
1588 Posts
Member Since
September 2018
RP Name
Russ Rbt
Police Rank
Superintendent
Total Playtime
50 days, 15 hours, 20 minutes and 1 seconds
Hmmm no lol

Also I'll do the endpoints for data eventually
Edited
11 days ago
#155378
Collie
Money Pit
1575 Posts
Member Since
November 2018
RP Name
Peter Post
Police Rank
Senior Constable
Total Playtime
50 days, 17 hours, 12 minutes and 49 seconds
a line of coke
10 days ago
#155383
Heavy Bob
Owner
2743 Posts
Member Since
February 2016
RP Name
Heavy Bob
Police Rank
Commissioner
Total Playtime
37 days, 9 hours, 12 minutes and 22 seconds
Could have at least posted what the response looks like...
10 days ago
#155388
GGS.SX Kaptian
Core
Administrator
1588 Posts
Member Since
September 2018
RP Name
Russ Rbt
Police Rank
Superintendent
Total Playtime
50 days, 15 hours, 20 minutes and 1 seconds
I'll do it eventually...
10 days ago
#155389
Fish Milk ggs.
sx
Remarkable
458 Posts
Member Since
October 2017
RP Name
Cheese Cheese
Police Rank
Not Whitelisted
Total Playtime
30 days, 18 hours, 11 minutes and 31 seconds
don't care didn't ask
10 days ago
#155403
John
Developer
24 Posts
Member Since
February 2018
RP Name
Johnny Dave
Police Rank
Not Whitelisted
Total Playtime
0 days, 0 hours, 2 minutes and 17 seconds
New site has a few endpoints, I'll be writing a docs page on it soon. Not a super priority atm
9 days ago
#155446
[GGS.SX] help
im addicted
Honorable
371 Posts
Member Since
April 2018
RP Name
Warid Hoffman
Police Rank
Senior Constable
Total Playtime
54 days, 21 hours, 29 minutes and 55 seconds
Can You Please Stop Capitalising Every Single Word lmao