Skip to content

ninoseki/whois-rest

Repository files navigation

whois-rest

A RESTful whois.

Requirements

  • Python 3.9+

or

  • Docker

Installation

$ 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

docker build . -t whois-rest
docker run -i -d  -p 8000:8000 whois-rest

Usage

curl localhost:8000/api/v1/{domain}

curl localhost:8000/api/v1/google.com

# see localhost:8000/redoc for more details.

About

A RESTful whois

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published