8000 GitHub - Yuvix25/r3e-python-api: Python API for reading RaceRoom Racing Experience's shared memory.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Yuvix25/r3e-python-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

R3E Python API

This package will allow you to easily read data from RaceRoom's Shared Memory API using Python.

Usage:

from r3e_api import R3ESharedMemory
import time

shared_memory = R3ESharedMemory()
shared_memory.update_offsets() # only needed once

while True:
    shared_memory.update_buffer()
    print(shared_memory.get_value('Player'))

    time.sleep(0.5)

The method R3ESharedMemory.get_value() accepts one string field. If you want to retrieve a sub-field, you can use dot notation, for example, R3ESharedMemory.get_value('Player.Velocity').

Installation:

You can install this package using pip:

$ pip install r3e-api

About

Python API for reading RaceRoom Racing Experience's shared memory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0