A Package which can give you Random Facts in an easy way!
Project description
Factful.py
A Package which can give you Random Facts in an easy way!
Links
Quick Example
1. Getting Random Facts
# Import factful.py Module
import factful
# Define facts function
facts = factful.facts()
# Getting random fact from random cateogary
print(facts["all"])
# Getting random facts from a paticular cateogary!
# All Cateogaries: "computer", "food", "emoji", "space"
print(facts["computer"])
print(facts["food"])
print(facts["emoji"])
print(facts["space"])
We also have this module as Javascript NPM Package! https://www.npmjs.com/package/factful.js. You can join our Discord Server for support!
© Science Spot | Decimal Development - 2020
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
factful.py-0.0.7.tar.gz
(6.7 kB
view hashes)