fluxpoint.paths.misc
¶
Module Contents¶
Classes¶
A class which gives info from the json data of about us |
|
A class which gives info from the json data of Minecraft server ping |
|
NSFW Api endpoints documented in https://bluedocs.page/fluxpoint-api/misc |
- class fluxpoint.paths.misc.AboutUs(json_data)[source]¶
A class which gives info from the json data of about us
- Parameters:
json_data (dict) – The json data from the api
- Acessible Paramters:
- id:
[
int
] ID of the person- name:
[
str
] Discord username of the person- token:
[
str
] Fluxpoint token of the person- created:
[
datetime.datetime
] Account creation date- expire:
[Optional[
datetime.datetime
]] Expiration date- donator:
[
bool
] If the perso is a dontor in fluxpoint or not- owner:
[
bool
] If the person is owner or not- disabled:
[
bool
] If the acc is disabled or not- status:
[
str
] HTTP Status- code:
[
int
] HTTP Status code- message:
[
str
] Message returned by the api
- class fluxpoint.paths.misc.MinecraftPingData(json_data)[source]¶
A class which gives info from the json data of Minecraft server ping
- Parameters:
json_data (dict) – The json data from the api
- Acessible Paramters:
-
“motd”: [
str
] serverinfo :playersOnline: [int
] Amount of players online :playersMax: [int
] Max amount of players :version: [str
] Minecraft version :fullQuery: [bool
] If the query was full or not :players: [Optional[list
]] List of players :status: [str
] HTTP Status :code: [int
] HTTP Status code :message: [str
] Message returned by the api
- class fluxpoint.paths.misc.Misc(api_token)[source]¶
Bases:
fluxpoint.http.BaseHTTP
NSFW Api endpoints documented in https://bluedocs.page/fluxpoint-api/misc
- Parameters:
api_token (str) –
- await me(self)[source]¶
Get info on the current user
- Returns:
The class containing all the information about the current user
- Return type: