You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Adrian Malacoda 0660003df7 correct library usage 2 years ago
src make types public 2 years ago
Cargo.toml initial commit 2 years ago
README.md correct library usage 2 years ago

README.md

Wow Such Doge

Dog API client in Rust.

Usage

Command Line

  • cargo run: output list of breeds
  • cargo run <breed> output all dogs of breed
  • cargo run random: output random dog
  • cargo run random <breed> output random dog of breed

Library

use wow_such_doge::Dogs;
let dogs = Dogs::new();
let breeds = dogs.breeds();
let random_dog = dogs.random_image();
let random_dog_of_breed = dogs.random_image_by_breed("<breed>");