API for Nigerian states and capitals, cities, towns and tourist centres.
Built with Django and Django Rest Framework (DRF)
install docker from here
create docker image
docker build .Check out the full API docs here
GET /v1/cities-towns/| Parameter | Type | Description |
|---|---|---|
name |
string (query) |
Get a particular Nigerian city or town by its name |
GET /v1/states/| Parameter | Type | Description |
|---|---|---|
name |
string (query) |
Get a particular Nigerian state by its name |
GET /v1/tourist-centres/| Parameter | Type | Description |
|---|---|---|
name |
string (query) |
Get a particular Nigerian tourist centre by its name(s) |
town |
string (query) |
Filter the tourist centres by the name of a Nigerian town |
state |
string (query) |
Filter the tourist centres by the name of a Nigerian state |