Skip to content
Query the Comma and Athena (device) API via Ruby - status: WIP - #api-client #openpilot
Ruby JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
example_ui
tmp
.gitignore
Rakefile
Readme.md
api_client.rb
api_client_lib.rb
athena_api.rb
comma_api.rb
config.rb
env.rb

Readme.md

comma-api-rb

API Client for api.comma.ai

Usage

Comma API

me = CommaAPI.me()
puts("me:", me) #=> {"email":"makevoid@example.com","id":"12345....","points":2708,"prime":null,"regdate":1563123456,"superuser":false,"upload_video":false,"username":"antani12345"}

Athena API

Your EON needs to be on for these calls to work

me = AthenaAPI.logMessage()
puts("logMessage:", logMessage) #=> { ... }

See more in the examples contained in the example (duh) dir.

enjoy :)

Install

bundle

Run

bundle exec rake

Have fun with OP!

@makevoid

You can’t perform that action at this time.