FoundersApiPy
A small package for the Founders API access made into a python package!
Index:
Package:
import founders
Sub Packages:
user:
founders.user.info(id): returns a user_info class based on user id input.
founderse.user.all(): returns a dictionary of all users in the form of {username: id, username: id...}.
server:
founders.server.info(id): returns a server_info class based on server id input.
founders.server.all(): returns a dictionary of all servers in the form of {server_name: id, server_name: id...}.
status:
founders.status.stat(id): returns a status_info class based on server id input.
Classes:
user_info:
self.success: True/False - whether information was obtained. This should always be checked before using information!
self.username: username of user.
self.rank: rank of user.
self.servers: servers user has access to.
self.lastSeen: time when user was last on in unix epoch time
self.created: time when user account was created in unix epoch time
server_info:
self.success: True/False - whether information was obtained. This should always be checked before using information!
self.domain: The domain name of the server; Ex: hypixel.net.
self.ip: The ip adress of the server, Ex: 172.65.128.70
self.port: The port of the server (by default and usually 25565).
self.name: The name of the server in the Founders Server Board; Ex: Hypixel
self.mRam: Minimum ram allocated to the server.
self.xRam: Maximum ram allocated to the server.
self.serverJar: Type of Minecraft server jar often pertaining to the Minecraft version, Ex: spigot-1.14.4.
status_info:
self.success: True/False - whether information was obtained. This should always be checked before using information!
self.status: True/False - whether the server is running or not.
self.ip: The ip adress of the server, Ex: 172.65.128.70
self.port: The port of the server (by default and usually 25565).
Release files for founders 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| founders-0.1.1.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| founders-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / founders-0.1.1.tar.gz
| Download URL | founders-0.1.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0bdb13a42c4acfe216bf06afb5764ac228282c6420a7f37c94b6adb58c71780
|
|
BLAKE2b-256 checksum How to use checksums |
ece65e638b510b63859993593f2be9ae2cfc73d6f9af8c71b3ba2ff45a51c049
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Release files / founders-0.1.1-py3-none-any.whl
| Download URL | founders-0.1.1-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
075f027efe0e3829e7df053c618a7b7ffc01c5476183c969a8241a1796d16408
|
|
BLAKE2b-256 checksum How to use checksums |
f90e59a9e8051e7f8d5d4329b7f54ee1fa63b8284855f6478e9c6b1c20940668
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|