Skip to content

Helam24/python-screeps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screepsapi

Setup:

  • If you don't have pip, install pip.
    • Why don't you have pip.
  • Install the package requirements (currently request and websocket) if you don't have them.

Example use:

import screepsapi
user = "MyUsername"
password = "TimeTravelingSecretAgentForHire"

api = screepsapi.API(user, password)
user = api.user_find("tedivm")
print user["user"]["gcl"]

Private servers:

Specify 'host' and 'secure' to connect to a private server. local servers don't seem to have TLS, so default is off. Be wary if connecting over the internet to your private server!

api = screepsapi.API(user, password, host="locahost:21025")

About

Unofficial client for the Screeps Unofficial API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%