stack-overflow (a very unofficial Rust client)

A feature incomplete Stack website (as in Stack Overflow) api wrapper for fun and no profit.

Examples

Create a default client (for the StackOverflow site) and query for featured questions.

```rust let client = StackClient::new();

let results = client .getfeaturedquestions("docker") .await .expect("Unable to fetch featured docker questions");

dbg!(&results); ```

Create a client specifically for the Meta Stack Exchange Site and query for featured API questions.

```rust let client = StackClientBuilder::new() .stacksite(StackSite::Meta) .version(ApiVersion::V23) .build();

let results = client .getfeaturedquestions("api") .await .expect("Unable to fetch featured api questions");

dbg!(&results); ```

TODO