https://github.com/mrdiamonddirt/countyapi
This is a public JSON based API,which gives information about Uk Counties.Ideal to use in any of your Uk County Based related projects,
https://github.com/mrdiamonddirt/countyapi
Last synced: 8 months ago
JSON representation
This is a public JSON based API,which gives information about Uk Counties.Ideal to use in any of your Uk County Based related projects,
- Host: GitHub
- URL: https://github.com/mrdiamonddirt/countyapi
- Owner: mrdiamonddirt
- Created: 2022-11-05T10:54:58.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T19:46:32.000Z (over 2 years ago)
- Last Synced: 2025-01-04T16:37:11.320Z (10 months ago)
- Language: JavaScript
- Homepage: https://county-api.onrender.com/counties/
- Size: 157 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UkCountiesDataAPI
This is a public JSON based API,which gives information about Uk Counties.Ideal to use in any of your Uk County Based related projects,feel free to make some amazing code project.
Base URL:
```
https://county-api.onrender.com/
```
## Endpoints
This Endpoint returns all the counties data at one time
```
https://county-api.onrender.com/counties
```
This End point returns JSON information about a specific county just search the county you want to return.
```
https://county-api.onrender.com/counties/:county
```
### Example URL:
```
https://county-api.onrender.com/counties/aberdeenshire
```
## Example Response
```
{"id":1,"country":"Scotland","Latitude":57.16666700034292,"Longitude":-2.6666669999999995,"othernames":["Aberdeenshire"]}
```