Skip to content

OpenJarbas/py8fact

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py8fact

random facts scrapped from https://www.instagram.com/8fact/

Last Scrapped: 9 Jun 2020

Install

pip install py8fact

Usage

import py8fact

num_facts = py8fact.total_facts()

fact = py8fact.random_fact()

facts = py8fact.get_facts(5)
assert len(facts) == 5

all_facts = py8fact.get_facts(-1)
assert len(all_facts) == num_facts

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • Python 100.0%