📃

API’s outdated documentation

Getting Started

Authorization

To prevent cheating and other security issues, part of the API is closed to developers. You will need to retrieve an authorization token from our panel (unavailable yet).

Global endpoint

Requests go to the following URI: https://localhost:3000/api/

Outputs cases

Success

{ any }

Error

{ error: string }

API Reference

Guilds

Register a guild
Register a guild
Fetch a guild
Fetch a guild
Define bot’s channel
Define bot’s channel

Users

Register a user
Register a user
Subscribe
Subscribe
Fetch users
Fetch users
Fetch a specific user
Fetch a specific user

Scores

Fetch all users’ stats
Fetch all users’ stats
Fetch specific user’s stats
Fetch specific user’s stats

Game

Guess a word
Guess a word
Get user’s guesses
Get user’s guesses
Add a word
Add a word
Get all words
Get all words
Get last word
Get last word
Get a specific word
Get a specific word

Dictionary

Define a word
Define a word

Other Resources

📦
Models
🚧
Document definitions
 
© All rights reserved🌸 Carbon neutral, or maybe not.by suiramdev