1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//!A library specialized for contacting Toontown Rewritten APIs. See an example usage of this crate at <https://github.com/Vhou-Atroph/ttr_pop_webserver>.
#![allow(non_snake_case)]
#![allow(unused_variables)]
#![deny(clippy::all)]
extern crate reqwest;
use reqwest::Client;

///Makes the default client for the API checker.

pub fn makeclient() -> Client {
    static APP_USER_AGENT: &str = concat!(env!("CARGO_PKG_NAME"),"/",env!("CARGO_PKG_VERSION"),);
    Client::builder().user_agent(APP_USER_AGENT).build().unwrap()
}

pub mod population;
pub mod sillymeter;
pub mod invasion;
pub mod office;
pub mod doodle;
pub mod news;
pub mod releasenotes;