comma API client library
You can install the package using the GitHub URL. It is recommended to use a specific version tag.
# add to your package.json dependencies
"@commaai/api": "commaai/comma-api#v3.0.1",
comma API client library
Home Page: https://api.comma.ai
License: MIT License
comma API client library
You can install the package using the GitHub URL. It is recommended to use a specific version tag.
# add to your package.json dependencies
"@commaai/api": "commaai/comma-api#v3.0.1",
A GET request to /v1/route/:route_name/segments
with routes provided on comma web challenge and other public routes found on open pilot tools all return a 404 Not Found
error.
Reproduction step:
Route provided by comma web challenge: 96850532278bae3b|000000dd--455f14369d
curl -H "Authorization: JWT {{token}}" "https://api.commadotai.com/v1/route/96850532278bae3b|000000dd--455f14369d/segments"
Result:
<html lang=en>
<title>404 Not Found</title>
<h1>Not Found</h1>
<p>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</p>
Can I use APIs to set the destination in the simulator, such as CARLA
Tokens are currently set to expire a year. If a token was to get compromised, one would not be able to do anything about it and would be subject to malicious acts.. snapshots, location, reboots.
A possible solution would be the ability to list tokens along with a revoke option, or simply a revoke all.
Another option is to create shorter lived tokens, but this does not fully solve the issue and leaves a user at risk until its expiration. This also requires recreating tokens more frequently which complicates everything.
Congrats on open-sourcing such a great service! I'm really excited to be able to contribute to this. At first glance, I think it would be nice to remove the dist
folder from the repo (since it's basically a compiled form of the src
folder), and add the build step to a CI provider like CircleCI, so that the api can be built automatically once the code lands in master. I can create a PR if you'd prefer.
Once again, great work and congrats!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.