igdb-rs 0.0.21

IGDB - Video Game Database Api
Documentation
use async_std::task;
use igdb_rs::client::IGDBClient;

fn main() {
    task::block_on(async {
        let igdb_client = IGDBClient::new("user-key");
        let games_client = igdb_client.games();

        let game = games_client
            .get_first_by_name("Modern Warfare 3")
            .await
            .unwrap();

        println!(
            "Game: {}, rating: {}, total votes: {}",
            game.name, game.total_rating as usize, game.total_rating_count
        );

        //Game: Call of Duty: Modern Warfare 3, rating: 80, total votes: 442
    })
}