A python package that pulls jokes from various APIs.
laughs provides a python package for generating pulling jokes from various unauthenticated
APIs around the Internet. Jokes are provided by the get_joke()
function. The package works
with python 2 and 3.
Pull requests are welcome!
OS X & Linux:
pip install laughs
or
pip3 install laughs
Windows:
python3 -m pip install laughs
Using laughs in your projects:
import laughs
joke = laughs.get_joke() # returns a string containing a joke/quote
- 0.1.0
- The first proper release
Sean Callaway – @smcallaway – seancallaway@gmail.com
Distributed under the MIT license. See LICENSE
for more information.
https://github.com/seancallaway/laughs
- Fork it (https://github.com/seancallaway/laughs/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request