-
Notifications
You must be signed in to change notification settings - Fork 0
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
Checkout hotosm API #5
Comments
Fetch all projects
Request url: https://tasks.hotosm.org/api/v1/project/search Returns centroid of all |
Fetch stats per project
Request url: https://tasks.hotosm.org/api/v1/stats/project/3597 Response: Fetches a single object with one array property
|
Fetch all individual tasks in a project
Request url: https://tasks.hotosm.org/api/v1/project/3597/tasks?as_file=true Returns a geojson file of all tasks |
Fetch boundary/Area of interest for a project
Request url: https://tasks.hotosm.org/api/v1/project/3597/aoi?as_file=true returns a multipolygon boundary with complete individual task boundary Mexico Earthquake |
Fetch description and tag details of a projectSimilar to earlier comment, but also fetches description, author, instructions.
Request URL: https://tasks.hotosm.org/api/v1/project/3597?as_file=false Response:
However this array might not always hold values: eg: 3722. mappingTypes is a null value
|
Mapping types:This have 5 predetermined values:
|
No next actions, items needed work with the url without an authorisation token. |
There's a whole bunch of API functions that could be used to fetch tags and project boundaries. Using this ticket to document useful operations like:
The text was updated successfully, but these errors were encountered: