A python package for FatCat Hosting


Keywords
fatcat
License
MIT
Install
pip install fatcat==0.0.7.1

Documentation

fatcat

Official Discord Official PyPi Python Versions

A package written in Python to manage your servers, pterodactyl servers, and more for FatCat Hosting.

Features

  • Created using requests via api
  • Customizable
  • Optimized for speed

Installing

Python 3.6 or higher is required

To install the library, you can just run the following command:

# Linux/macOS
python3 -m pip install -U fatcat

# Windows
py -3 -m pip install -U fatcat

Examples

Get Server Memory Usage

# Getting the package
from fatcat import Server

# Creating a server class with our base URL and declaring some variables, plain & text are optional
server = Server(url="http://server_ip/", plain=False, text=True)

# Printing total server memory
print(server.total_memory())

Get Active Server Memory Usage

# Getting the package
from fatcat import Server

# Creating a server class with our base URL
server = Server(url="http://server_ip/")

# Printing active server memory
print(server.active_memory())

Links

Contact & Support