-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI or HTTP API? #53
Comments
Hello @AntoineAugusti Yes both version are available. But, the api/lambda function nor the exposed JSON report are not intended to be used outside of this project. On the long-term roadmap, we planned to export a report (less breaking changes). |
Thanks a lot @PierrickP, I will keep that in mind! I think we'll use the HTTP API for now and we'll keep in mind that it can disappear or break. We plan to make less than 3k HTTP requests per month and I will add a |
Hello there!
Thanks for providing an awesome tool. We @ https://transport.data.gouv.fr are very interested in using/contributing to this repository (and we already did! #39)
We'd like to know if it's possible to use this tool as a CLI tool or an HTTP API.
It seems like we can use it as a CLI by doing
which gives a JSON report
There is also an HTTP API available at https://gbfs-validator.netlify.app/.netlify/functions/validator
curl -X POST -d '{"url": "https://transport.data.gouv.fr/gbfs/strasbourg/gbfs.json"}' https://gbfs-validator.netlify.app/.netlify/functions/validator
Is this safe to use? Should this be documented?
The text was updated successfully, but these errors were encountered: