pub struct IGDBClient { /* private fields */ }
Implementations§
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn age_ratings(&self) -> AgeRatingsClient
pub fn age_ratings(&self) -> AgeRatingsClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn artworks(&self) -> ArtworksClient
pub fn artworks(&self) -> ArtworksClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn character_mug_shots(&self) -> CharacterMugshotsClient
pub fn character_mug_shots(&self) -> CharacterMugshotsClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn characters(&self) -> CharactersClient
pub fn characters(&self) -> CharactersClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn companies(&self) -> CompaniesClient
pub fn companies(&self) -> CompaniesClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn covers(&self) -> CoversClient
pub fn covers(&self) -> CoversClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn games(&self) -> GamesClient
pub fn games(&self) -> GamesClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn game_modes(&self) -> GameModesClient
pub fn game_modes(&self) -> GameModesClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn game_videos(&self) -> GameVideosClient
pub fn game_videos(&self) -> GameVideosClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn game_engines(&self) -> EnginesClient
pub fn game_engines(&self) -> EnginesClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn franchises(&self) -> FranchisesClient
pub fn franchises(&self) -> FranchisesClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn multiplayer_modes(&self) -> MultiPlayerModesClient
pub fn multiplayer_modes(&self) -> MultiPlayerModesClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn platforms(&self) -> PlatformsClient
pub fn platforms(&self) -> PlatformsClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn platform_logos(&self) -> PlatformLogosClient
pub fn platform_logos(&self) -> PlatformLogosClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn player_perspectives(&self) -> PlayerPerpectivesClient
pub fn player_perspectives(&self) -> PlayerPerpectivesClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn release_dates(&self) -> ReleaseDatesClient
pub fn release_dates(&self) -> ReleaseDatesClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn screenshots(&self) -> ScreenshotsClient
pub fn screenshots(&self) -> ScreenshotsClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn themes(&self) -> ThemesClient
pub fn themes(&self) -> ThemesClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn websites(&self) -> WebsitesClient
pub fn websites(&self) -> WebsitesClient
Returns a reference to the client
Source§impl IGDBClient
impl IGDBClient
Sourcepub fn new<S: Into<String>>(api_key: S) -> IGDBClient
pub fn new<S: Into<String>>(api_key: S) -> IGDBClient
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");
Sourcepub fn create_request() -> RequestBuilder
pub fn create_request() -> RequestBuilder
Creates a new instance of a Request builder you can use it’s methods to create custom queries
§Examples
use igdb_rs::client::IGDBClient;
use igdb_rs::request_builder::Equality;
let mut request = IGDBClient::create_request();
request
.all_fields()
.add_where("id", Equality::Greater, "340")
.limit(10);