Kongregate Developers

/guilds.json

POST https://api.kongregate.com/api/guilds.json
Required params:
  • api_key: The api key assigned to your game
  • server_identifier: How you identify your server (unique)
  • server_name: How users identify what server they are playing on
  • guild_identifier: How you map guilds on your server (unique to server)
  • guild_name: The guild name that users see
Response if successful:
  • guild_identifier: the guild identifier that was submitted
  • server_identifier: the server identifier that was submitted
  • success: true if it was successful

Creating a Guild

Creating a guild is handled by a call to /guilds.json.

Example: Creating the guild JusticeLeague will use these parameters

POST URL: https://api.kongregate.com/api/guilds.json
POST data:
  • api_key=GAMEAPIKEY
  • server_identifier=101
  • server_name=Gotham01
  • guild_identifier=234
  • guild_name=JusticeLeague

And the call would look like this:

https://api.kongregate.com/api/guilds.json?api_key=GAMEAPIKEY&server_identifier=101&server_name=Gotham01&guild_identifier=234&guild_name=JusticeLeague

/guilds/destroy.json

POST https://api.kongregate.com/api/guilds/destroy.json
required params:
  • api_key: The api key assigned to your game
  • server_identifier: How you identify your server (unique)
  • guild_identifier: How you map guilds on your server (unique to server)
response if successful:
  • guild_identifier: the guild identifier that was submitted
  • server_identifier: the server identifier that was submitted
  • success: true if it was successful

Destroying a Guild

In the case that a guild is removed from the game, a call to /guilds/destroy.json will remove it from our system.

Example: Destroying the guild JusticeLeague will use these parameters

POST URL: https://api.kongregate.com/api/guilds/destroy.json
POST data:
  • api_key=GAMEAPIKEY
  • server_identifier=101
  • server_name=Gotham01
  • guild_identifier=234
  • guild_name=JusticeLeague

And the call would look like this:

https://api.kongregate.com/api/guilds/destroy.json?api_key=GAMEAPIKEY&server_identifier=101&server_name=Gotham01&guild_identifier=234&guild_name=JusticeLeague

Comments