Quantcast

Author Topic: Does this server have an API?  (Read 3020 times)

0 Members and 1 Guest are viewing this topic.

Offline xProSoul

    • View Profile
  • In-Game Name: xProSoul
Does this server have an API?
« on: September 19, 2018, 05:58:27 pm »
Hello, Does this server have an API?

Because I was thinking to make some cool things for the server but I need an API for this.


Offline xProSoul

    • View Profile
  • In-Game Name: xProSoul

Offline LilDolla

  • IGC Founder
  • ******
    • View Profile
  • In-Game Name: LilDolla
Re: Does this server have an API?
« Reply #3 on: October 18, 2018, 11:44:22 am »
@xProSoul

I have made a new API Endpoint for you to use, instead of using multiple links for gathering data from.

Endpoint: https://igcrpg.com/api

To retrieve data from the endpoint you have to use the parameter 'request'.

Valid Requests are:
  • players
  • server_stats
  • top_10

Example Request: https://igcrpg.com/api/?request=players

Data is return in JSON with a status, descriptive message and the requested data.
« Last Edit: October 18, 2018, 11:47:04 am by LilDolla »

maybe I should give you a name. but that's a slippery slope

 

SimplePortal 2.3.7 © 2008-2021, SimplePortal