{"id":20883972,"url":"https://github.com/abdirahiim/covid-19-somaliland-api","last_synced_at":"2026-04-11T20:43:50.756Z","repository":{"id":116657490,"uuid":"260785891","full_name":"Abdirahiim/covid-19-somaliland-api","owner":"Abdirahiim","description":"Covid-19 Somaliland API is an API made for tracking Coronavirus cases in Somaliland, the data is based on the official Somaliland Coronavirus website(https:/somalilandcoronavirus.com)  and it's updated daily.","archived":false,"fork":false,"pushed_at":"2020-05-06T11:26:40.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T17:50:05.019Z","etag":null,"topics":["api","coronavirus","coronavirus-api","coronavirus-info","coronavirus-tracker","coronavirus-tracking","covid","covid-19","covid-data","covid19","covid19-data","flask","json-api","python","python3","somali","somaliland"],"latest_commit_sha":null,"homepage":"https://covid-19-somaliland-api.herokuapp.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Abdirahiim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-05-02T22:24:18.000Z","updated_at":"2021-11-06T15:01:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4491137-1335-486d-b386-e24721aa8429","html_url":"https://github.com/Abdirahiim/covid-19-somaliland-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Abdirahiim/covid-19-somaliland-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdirahiim%2Fcovid-19-somaliland-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdirahiim%2Fcovid-19-somaliland-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdirahiim%2Fcovid-19-somaliland-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdirahiim%2Fcovid-19-somaliland-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Abdirahiim","download_url":"https://codeload.github.com/Abdirahiim/covid-19-somaliland-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abdirahiim%2Fcovid-19-somaliland-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274602384,"owners_count":25315199,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","coronavirus","coronavirus-api","coronavirus-info","coronavirus-tracker","coronavirus-tracking","covid","covid-19","covid-data","covid19","covid19-data","flask","json-api","python","python3","somali","somaliland"],"created_at":"2024-11-18T08:08:39.990Z","updated_at":"2026-04-11T20:43:50.711Z","avatar_url":"https://github.com/Abdirahiim.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Covid-19 Somaliland API\n[![GitHub stars](https://img.shields.io/github/stars/Abdirahiim/covid-19-somaliland-api)](https://github.com/Abdirahiim/covid-19-somaliland-api/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/Abdirahiim/covid-19-somaliland-api)](https://github.com/Abdirahiim/covid-19-somaliland-api/network/members)\n[![HitCount](http://hits.dwyl.com/Abdirahiim/covid-19-somaliland-api.svg)](http://hits.dwyl.com/Abdirahiim/covid-19-somaliland-api)\n\nCovid-19 Somaliland API is an API made for tracking Coronavirus cases in Somaliland, the data is based on the [official Somaliland Coronavirus website](https://somalilandcoronavirus.com)  and it's updated daily.\n\n## API Reference\n\nAll endpoints are located at ``covid-19-somaliland-api.herokuapp.com/`` and are accessible via https. For instance: you can get data per location by using this URL:\n[https://covid-19-somaliland-api.herokuapp.com/locations](https://covid-19-somaliland-api.herokuapp.com/locations)\n\nYou can open the URL in your browser to further inspect the response. Or you can make this curl call in your terminal to see the prettified response:\n\n```\ncurl https://covid-19-somaliland-api.herokuapp.com/locations | json_pp\n```\n\n### Swagger\n\nYou can use the API through [the SwaggerUI](https://covid-19-somaliland-api.herokuapp.com).\n\n## API Endpoints\n\n### Latest Endpoint\n\nGets the latest national confirmed, recovered and deaths cases.\n\n```http\nGET /latest\n```\n\n__Sample response__\n```json\n{\n  \"latest\": [\n    \"confirmed\": 6,\n    \"deaths\": 1,\n    \"recovered\": 2\n  ]\n}\n```\n\n### Locations Endpoint\n\n#### List of all locations\n\nGets the latest national confirmed, recovered and deaths cases of each location\n\n```http\nGET /locations\n```\n\n__Sample response__\n```json\n{\n    \"locations\": [\n    {\n    \"city\": \"Hargeysa\",\n    \"confirmed\": 3,\n    \"deaths\": 0,\n    \"id\": 1,\n    \"province\": \"Maroodijeex\",\n    \"recovered\": 0\n    },\n    {\n    \"city\": \"Burco\",\n    \"confirmed\": 1,\n    \"deaths\": 0,\n    \"id\": 2,\n    \"province\": \"Togdheer\",\n    \"recovered\": 1\n     }\n   ]\n }\n```\n\n#### Gets location by Id\n\n```http\nGET /locations/id/:id\n```\n__Path Parameters__\n| __Path parameter__ | __Required/Optional__ | __Description__                                                                                                                                                          | __Type__ |\n| ------------------ | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |\n| id                 | OPTIONAL              | The unique location id for each location. The list of valid location IDs can be found in the locations response: ``/locations`` | Integer  |\n\n#### Example Request\n```http\nGET /locations/id/2\n```\n\n__Sample response__\n```json\n{\n    \"locations\": [\n    {\n    \"city\": \"Burco\",\n    \"confirmed\": 1,\n    \"deaths\": 0,\n    \"id\": 2,\n    \"province\": \"Togdheer\",\n    \"recovered\": 1\n    }\n  ]\n }\n```\n\n#### Gets location by province\n\n```http\nGET /locations/province/:province\n```\n__Path Parameters__\n| __Path parameter__ | __Required/Optional__ | __Description__                                                                                                                                                          | __Type__ |\n| ------------------ | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |\n| province                 | OPTIONAL              | The name of the province in which the location belongs to. The list of the provinces can be found in the locations response: ``/locations`` | String  |\n\n#### Example Request\n```http\nGET /locations/province/togdheer\n```\n\n__Sample response__\n```json\n{\n    \"locations\": [\n    {\n    \"city\": \"Burco\",\n    \"confirmed\": 1,\n    \"deaths\": 0,\n    \"id\": 2,\n    \"province\": \"Togdheer\",\n    \"recovered\": 1\n    }\n  ]\n }\n```\n\n#### Gets location by city\n\n```http\nGET /locations/city/:city\n```\n__Path Parameters__\n| __Path parameter__ | __Required/Optional__ | __Description__                                                                                                                                                          | __Type__ |\n| ------------------ | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |\n| province                 | OPTIONAL              | The name of the city in which the location belongs to. The list of the cities can be found in the locations response: ``/locations`` | String  |\n\n#### Example Request\n```http\nGET /locations/city/burao\n```\n\n__Sample response__\n```json\n{\n    \"locations\": [\n    {\n    \"city\": \"Burco\",\n    \"confirmed\": 1,\n    \"deaths\": 0,\n    \"id\": 2,\n    \"province\": \"Togdheer\",\n    \"recovered\": 1\n    }\n  ]\n }\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdirahiim%2Fcovid-19-somaliland-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdirahiim%2Fcovid-19-somaliland-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdirahiim%2Fcovid-19-somaliland-api/lists"}