Skip to main content

Library connecting to the screeps api.

Project description

# Screeps library

Library to connect to the screeps API either via REST or websocket.
Example for using the library can be seen at

## Rest

- `get_me()` Returns the user object for the logged in user
- `console(command)` Sends the command to the console

## Websocket
Websocket connection for fetching the console log
from screeps.screeps import Connection

def sysout(message):

conn = Connection(email, password, arguments['--ptr'])

## Deploy

`python sdist upload`

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

screeps-0.1.5.tar.gz (2.6 kB view hashes)

Uploaded Source

Supported by

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