pub fn new<S: Into<String>>(api_key: S) -> IGDBClient {
        IGDBClient {
            api_key: api_key.into(),
        }
    }
/// Creates a new instance of the IGDB Client
/// To create a new instance you need to provide the user-key your are provided with
/// when you register in the API Website
/// # Examples
/// ```
/// use igdb_rs::client::IGDBClient;
///
/// let igdb = IGDBClient::new("user-key");
/// ```
Creates a new instance of the IGDB Client
To create a new instance you need to provide the user-key your are provided with
when you register in the API Website
Creates a new instance of the IGDB Client To create a new instance you need to provide the user - key your are provided with when you register in the API Website
pub fn new<S: Into<String>>(api_key: S) -> IGDBClient {
        IGDBClient {
            api_key: api_key.into(),
        }
    }
pub fn new < S : Into < String > > ( api_key : S ) -> IGDBClient { IGDBClient { api_key : api_key . into ( ) , } }
Creates a new instance of the IGDB Client
To create a new instance you need to provide the user-key your are provided with
when you register in the API Website
Creates a new instance of the IGDB Client To create a new instance you need to provide the user - key your are provided with when you register in the API Website
api_key
S
api_key
S
examples
```
use igdb_rs::client::IGDBClient.

let igdb = IGDBClient::new("user-key");
```
` ` ` use igdb_rs :: client :: IGDBClient . let igdb = IGDBClient :: new ( " user - key " ) ; ` ` `