RoverRetriever is a lightweight Python wrapper written to facilitate interaction with the Dog CEO API.
Project description
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')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
RoverRetriever-0.1.5.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file RoverRetriever-0.1.5.tar.gz.
File metadata
- Download URL: RoverRetriever-0.1.5.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c03c9900834d8bf11349c217684d57a2558650bc8815ef163629b81fc53dbe31
|
|
| MD5 |
7e737dbe66cb05dcbcc2dfccd6626aca
|
|
| BLAKE2b-256 |
001158bba675bfe758757dcac94fa6abede4822b8fa20dabcf357a5cf31e4c31
|
File details
Details for the file RoverRetriever-0.1.5-py3-none-any.whl.
File metadata
- Download URL: RoverRetriever-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e4b8bd964ac48f22ddb8c23c0bb356fcc2bba52a6606d804a6e60db803f56fd
|
|
| MD5 |
0f3c78dba203cc3933043d8e0beff83d
|
|
| BLAKE2b-256 |
20ec86ac7018f23b1d00767827d3c2a3a7bd47513184d147ec4a5ae3f0bf93af
|