#interaction #joke #api #little #string #sv443 #jokeapi

sv443_jokeapi

Simple package that makes interaction with the sv443 jokeapi in Rust a little easier

3 unstable releases

0.2.0 Feb 11, 2020
0.1.1 Feb 10, 2020
0.1.0 Feb 10, 2020

#41 in #joke

MIT license

14KB
311 lines

sv443_jokeapi Rust Crate

cargo: 0.2.0

Easy to use crate to interact with the sv443 Joke API

Located here

As of right now, this crate only retrieves jokes. There is no posting functionality nor is there is any methods to retrieve jokes based on search strings or id's.

Notices

  • constants::Format::xml is broken, do not use
  • no unwrap or expect on JokeResult
  • Preferred format is json, yaml is in a working state, but json is easier to work with as of right now (v.0.2.0)

Usage

To see how to use, please see the example directory in the repository for this crate on GitHub

Dependencies

~7–16MB
~240K SLoC