# ows-location

A proof of concept using FastAPI + IP2Location to set up an IP resolution service.

## Setup

Install dependencies:
```
poetry install
```

Pull sample BIN file from IP2Location:
```
make sample
```

Dev quickstart:
```
make dev
```

## Example
```
$ curl "http://localhost:5001/location?ip=4.15.150.129"
{"country":"US","region":"New Jersey","city":"Newark"}
```