A RESTful whois
.
- Python 3.9+
or
- Docker
$ pip install poetry
$ poetry install
$ uvicorn app:app
INFO: Started server process [64616]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
docker build . -t whois-rest
docker run -i -d -p 8000:8000 whois-rest
curl localhost:8000/api/v1/{domain}
curl localhost:8000/api/v1/google.com
# see localhost:8000/redoc for more details.