确定乔希是否18岁。
isjosh18的Python项目详细描述
乔希是18岁吗?
一个命令行界面来确定乔希是否已经18岁了。
它使用的是https://hasjoshturned18yet.com/提供的api。
安装
$ pip install isjosh18 --upgrade
用法
$ isjosh18 -h
usage: isjosh80 [-h] [--balloons] [-f] [--frequency FREQUENCY]
[--speed SPEED] [--width WIDTH] [--duration DURATION]
Is Josh 18?
optional arguments:
-h, --help show this help message and exit
--balloons Add balloons
-f, --force Force Josh to be 18
--frequency FREQUENCY
Balloon frequency
--speed SPEED Balloon speed
--width WIDTH Screen width
--duration DURATION How many seconds the party should last (0: party on
forever)