Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meltingice/node-iracing
iRacing SDK bindings for NodeJS
https://github.com/meltingice/node-iracing
Last synced: 24 days ago
JSON representation
iRacing SDK bindings for NodeJS
- Host: GitHub
- URL: https://github.com/meltingice/node-iracing
- Owner: meltingice
- Created: 2013-01-22T04:35:38.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-26T20:16:16.000Z (almost 12 years ago)
- Last Synced: 2024-04-13T01:54:13.959Z (7 months ago)
- Language: C++
- Size: 197 KB
- Stars: 22
- Watchers: 9
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iRacing Bindings for Node
A native C++ library that binds the iRacing SDK to NodeJS so that you can access it from Javascript.
## Example Usage
``` javascript
var iRacing = require('iracing').iRacing;console.log("Waiting for connection...");
// Wait for the game connection
iRacing.ready(function () {
console.log("Connected!");
console.log(this.sessions.weekend.TrackDisplayName);// Execute code on every simulation tick
this.onTick(function () {
console.log(this.getTelemetry('Throttle'));
});
});
```