pub async fn new(app_id: &str) -> Self {
        RarBgApi {
            token: Token::new(app_id).await,
            app_id: app_id.to_string(),
        }
    }
/// Create a new RARBG client.
///
/// # Arguments
///
/// * `app_id` - A string slice that holds the name of your app.
///
/// # Example
///
/// ```no_run
/// use rarbg_api::RarBgApi;
/// use rarbg_api::token::Token;
///
/// #[tokio::main]
/// async fn main() {
///     let api = RarBgApi::new("RustExample").await;
/// }
/// ```
Create a new RARBG client.
Create a new RARBG client .
pub async fn new(app_id: &str) -> Self {
        RarBgApi {
            token: Token::new(app_id).await,
            app_id: app_id.to_string(),
        }
    }
pub async fn new ( app_id : & str ) -> Self { RarBgApi { token : Token :: new ( app_id ) . await , app_id : app_id . to_string ( ) , } }
Create a new RARBG client.
Create a new RARBG client .
app_id
&str
example
```no_run
use rarbg_api::RarBgApi;
use rarbg_api::token::Token.
` ` ` no_run use rarbg_api :: RarBgApi ; use rarbg_api :: token :: Token .
[tokio::main]
async fn main() {
let api = RarBgApi::new("RustExample").await;
}
```
async fn main () { let api = RarBgApi :: new ( " RustExample " ) . await ; } ` ` `