random

Function random 

Source
pub fn random() -> Result<Random>
Expand description

If all is good with no errors; returns a Random

ยงErrors

if The Senpy Club API is unavailable

Examples found in repository?
examples/random.rs (line 20)
19fn main() {
20  match senpy::random() {
21    Ok(image) =>
22      println!("language: {}, image: {}", image.language, image.image),
23    Err(e) => println!("{}", e),
24  }
25}