{"id":19564445,"url":"https://github.com/ent8r/notesreview-api","last_synced_at":"2025-04-27T00:32:58.753Z","repository":{"id":118229043,"uuid":"304701127","full_name":"ENT8R/notesreview-api","owner":"ENT8R","description":"API for searching OpenStreetMap notes","archived":false,"fork":false,"pushed_at":"2024-04-28T16:03:58.000Z","size":103,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T19:11:20.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://notesreview.kongruent.xyz/docs","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ENT8R.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-16T17:55:37.000Z","updated_at":"2024-04-28T16:04:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"d1bdacf6-ecc1-4d40-91f2-4f890061c740","html_url":"https://github.com/ENT8R/notesreview-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ENT8R%2Fnotesreview-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ENT8R%2Fnotesreview-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ENT8R%2Fnotesreview-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ENT8R%2Fnotesreview-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ENT8R","download_url":"https://codeload.github.com/ENT8R/notesreview-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251073596,"owners_count":21532005,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T05:22:05.692Z","updated_at":"2025-04-27T00:32:58.472Z","avatar_url":"https://github.com/ENT8R.png","language":"Python","readme":"# notesreview-api\n\u003e API and backend for [notesreview](https://github.com/ENT8R/notesreview)\n\n## Scripts\n\n#### `delete.py`\n```sh\n# Deletes all notes that are not included in the notes dump\npython scripts/delete.py notes.osn\n```\n\n---\n\n#### `import.py`\n```sh\n# Imports all notes from the notes dump\npython scripts/import.py notes.osn\n```\n\n---\n\n#### `indices.py`\n```sh\n# Creates all necessary indices for the database\npython scripts/indices.py\n```\n---\n\n#### `update.py`\n```sh\n# Updates the database by querying the OSM Notes API\n# in order to receive the latest notes\n# since a given date of the last check\npython scripts/update.py\n```\n\n## Notes Dump\n\n##### Download\n```sh\n# Download and extract the notes dump\n# (hosted on https://planet.openstreetmap.org/ or any other mirror)\n\n# ${URL} needs to be replaced with the location of the notes dump\ncurl -o notes.osn.bz2 ${URL} \u0026\u0026 bzip2 -d notes.osn.bz2\n```\n\n##### XML Structure\nThe structure of the notes dump follows this scheme:\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cosm-notes\u003e\n  \u003cnote id=\"${id|required}\" lat=\"${lat|required}\" lon=\"${lon|required}\" created_at=\"${created_at|required}\" closed_at=\"${closed_at|optional}\"\u003e\n    \u003ccomment action=\"${action|required}\" timestamp=\"${timestamp|required}\" uid=\"${uid|optional}\" user=\"${user|optional}\"\u003e${comment|optional}\u003c/comment\u003e\n  \u003c/note\u003e\n\u003c/osm-notes\u003e\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fent8r%2Fnotesreview-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fent8r%2Fnotesreview-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fent8r%2Fnotesreview-api/lists"}