/automate-replit

Automate replit actions with this async replit api wrapper!

Primary LanguagePython

Automate Replit

Documentation Status

Automate replit actions with this replit api wrapper!

Docs

Documentation for this library can be found here

Source

Source can be found here

Example

from autoreplit import ReplitClient

client = ReplitClient()

async def getEthan():
    ethan = await client.getUserByName("not-ethan")
    print(f"Ethan's id: {ethan.id}")
    print(f"Ethan's follower count: {ethan.followerCount}")
    if ethan.isOnline:
        print("Ethan is online!")
    else:
        print(f"Ethan was last seen {ethan.lastSeen}")
    print(f"Ethan's roles: {ethan.roles}")
    print(f"All of ethan: {ethan}")

client.run(getEthan())

Note: pass a sid to get better info