A small package for the Founders API access made into a python package!
- THIS PROJECT IS NO LONGER MAINTAINED
- This was my first experience with creating a python package.
Standard: pip install founders
If you encounter any issues try using this or use one of these commands:
Windows: python -m pip install founders
Mac/Linux: python3 -m pip install founders
To use in your python script: import founders
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...}
.
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...}
.
founders.status.stat(id)
: returns a status_info class based on server id input.
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
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.
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).