-
-
Notifications
You must be signed in to change notification settings - Fork 28
Home
olijeffers0n edited this page Dec 19, 2021
·
8 revisions
Rustplus.py is a library for interfacing with the Rust+ API in python. This is an unnoficial wrapper that allows you to access many of the in-app features programmatically in python.
- Discord.py bots
- Automation
- Time / Map Checking
import asyncio
from rustplus import RustSocket
async def main():
socket = RustSocket("IP", "PORT", STEAMID, PLAYERTOKEN)
await socket.connect()
print(f"It is {(await socket.get_time()).time}")
await socket.disconnect()
asyncio.new_event_loop().close_connection(main())
Please check out the other Wiki pages for information on all the functions
For support we have a discord server or open an issue!