It would facilitate adoption if there were Python bindings to access the API.
I'm thinking about creating a Python Client (for accessing and using the api) for WebODM. And even a Django Package after that, with Login and Host configuration in the settings.
Help would be appreciated, if anyone is interested :)
This would be awesome. I'd be happy to help (answering questions about the API, reviewing code, testing, providing feedback).
@pierotofy would you be willing to create the project inside OpenDroneMap organization in github, or should I start it under my own?
@smathermather would be the right person to answer this.
I created it in my own so I could start developing: https://github.com/rmallermartins/python-WebODM. @pierotofy I already have some questions about the API, should I ask them here?
Awesome. Yes you can ask here!
On Aug 20, 2017, at 11:08 AM, Rodrigo Maller Martins notifications@github.com wrote:
I created it in my own so I could start developing: https://github.com/rmallermartins/python-WebODM. @pierotofy I already have some questions about the API, should I ask them here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Nice, will start with some then :)
1. Are there Endpoints to retrieve, for example, one Project like "GET /api/projects/{id}"? _I don't see any in docs, just listing with filters_
2. Do Create, Update, Delete, etc... have json content on responses? _Like Create returning the created Project fields, not well documented too_
3. What the API returns when my auth Token has expired?
4. Is there a pattern for returning errors? _Like both "required" and "Unable to login" returns with status_code 400. If it is the only code that return errors with, and if theses errors have some kind of pattern, or it depends on each API point?_
Ps: sorry if my English is rusty
I know some of these I could find out browsing WebODM code, but I'd be happy if someone else could answer them for me
Hope this helps!
@rmallermartins We've forked your repo to https://github.com/OpenDroneMap/python-WebODM. If you want to make the OpenDroneMap repo the official repo, simply destroy (via the settings panel) your repository. You should have received commit permissions to do changes directly to the OpenDroneMap repository.
@pierotofy Nice, already did that! Yes, I received permissions from @dakotabenjamin
Guys, 2 problems.
Thanks!
Closing due to lack of interest / PyODM seems the better way to go forward as far as Python support is concerned.