Skip to content

Retriever is a lightweight Python wrapper written to facilitate interaction with Dog CEO's API.

License

Notifications You must be signed in to change notification settings

tyler-tee/RoverRetriever

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoverRetriever: A Python Wrapper for the Dog CEO API

RoverRetriever is a lightweight Python wrapper written to facilitate interaction with Dog CEO's API.

Usage

Initialize the client

from RoverRetriever.rover_retriever import RoverRetriever
dog_api = RoverRetriever()

Get a list of breeds

breeds = dog_api.get_breeds()

Get a random dog image

random_image = dog_api.get_random_image()

Get a number of random dog images by breed

random_image = dog_api.get_random_image(quantity=3, breed='hound')

Get available images by breed

images = dog_api.get_images_by_breed('bulldog')

Get all sub-breeds

sub_breeds = dog_api.get_all_sub_breeds('bulldog')

About

Retriever is a lightweight Python wrapper written to facilitate interaction with Dog CEO's API.

Topics

Resources

License

Stars

Watchers

Forks

Languages