Skip to content

SamuelCHICHA/achannel_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AChannel API

Purpose

This API is meant to add a layer between the database and the AChannel bot. It can only be used with local queries.

Installation

Clone the project and run npm install then run npm start to launch the app.

Routes

  • /guild/{guild_id}/activity/{activity_name}/random-channel-name [GET]

Get a random channel name for an acitivity inside a guild.

  • /guild/{guild_id}/activity/{activity_name}/channel-names [GET]

Get all channel names for an activity inside a guild.

  • /guild/{guild_id}/activities [GET]

Get all activities inside a guild.

  • /guild/{guild_id}/register-activity [POST]

Register an activity inside a guild.

  • /guild/{guild_id}/delete-activities [POST]

Delete all activities inside a guild.

  • /guild/{guild_id}/activity/{activity_name}/register-channel-name [POST]

Register a channel name for an activity inside a guild.

  • /register-guild [POST]

Register a guild

  • /delete-guild [POST]

Delete a guild

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published