Skip to main content

An API wrapper for the Imperator API

Project description

imperatoraPY - Imperator API wrapper written in Python


Maintained by Myer (also known as myerfire, MyerFire)

This library is a fully featured async wrapper for the Imperator API.


imperatoraPY is available from the official pYpI package index.

python -m pip install -U imperatoraPY


  • There are relevant docstrings on the functions of the main wrapper class.
  • Object attribute documentation may (?) be worked on but the code in is easily readable.

Quick Start

from imperatoraPY import Imperator
import asyncio

API_KEY = "hahagetbaited"
# if it isn't obvious enough, replace this string 
# with your API key obtained by going onto the Imperator server and running /api

async def main():
    imperator = await Imperator(API_KEY)
    player = imperator.fetch.player(name="myerfire")

if __name__ == "__main__":

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imperatoraPY-1.4.4.tar.gz (4.7 kB view hashes)

Uploaded source

Built Distribution

imperatoraPY-1.4.4-py3-none-any.whl (8.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page