For too long we've struggled to know if something isseven. Now thanks to the power of this API we can be sure if it isseven.
Here are some example usages:
curl https://isseven.meadsteve.dev/is/6
# {"isseven":false,"explanation":"We tried. This doesn't seem to be seven"}%
curl https://isseven.meadsteve.dev/is/seven
# {"isseven":true,"explanation":"That was seven in english"}
curl https://isseven.meadsteve.dev/is/qqqqqqq
# {"isseven":true,"explanation":"It was q repeated 7 times"}
curl https://isseven.meadsteve.dev/is/3+4
# {"isseven":true,"explanation":"According to the power of maths that is 7"}
Full API docs can be found at https://isseven.meadsteve.dev/docs
Issues tracked on GitHub meadsteve/isseven
Requires python 3.8 or higher to be installed.
git clone git@github.com:meadsteve/isseven.git
cd isseven
pipenv install
(you'll need to do pip install pipenv
if you don't already have this available)
./run.sh