Welcome to havhav’s documentation!¶
- havhav.get_dog_facts(number_of_facts: int = 1) List[str] ¶
Get dog facts from API
Makes request to the Dog facts API and returns a list of facts.
- Returns:
List of facts
- Return type:
List[str]
- Parameters:
number_of_facts – Number of facts to return