Skip to main content

Python binding for RaceRoom's Shared Memory API.

Project description

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').

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

r3e-api-0.1.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

r3e_api-0.1.2-py3-none-any.whl (16.9 kB view hashes)

Uploaded Python 3

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