Skip to main content

Crate igdb_atlas

Crate igdb_atlas 

Source
Expand description

§igdb-atlas

An asynchronous Rust wrapper for the IGDB v4 API, the video game database by Twitch.

§Features

  • Full async/await support via tokio
  • Twitch OAuth 2.0 client credentials authentication with automatic token refresh
  • Proactive rate limiting with exponential backoff (4 req/s limit)
  • Type-safe query builder supporting IGDB’s Apicalypse syntax
  • Custom error types with detailed context

§Module Structure

  • auth - Twitch OAuth 2.0 authentication and token management
  • client - Core HTTP client, configuration, and rate limiting
  • error - Custom error types
  • query - Apicalypse query builder

Re-exports§

pub use client::IGDBClient;
pub use client::config::ClientConfig;
pub use error::IGDBError;
pub use query::QueryBuilder;
pub use models::age_ratings::AgeRating;
pub use models::characters::Character;
pub use models::collections::Collection;
pub use models::companies::Company;
pub use models::date_formats::DateFormat;
pub use models::events::Event;
pub use models::franchises::Franchise;
pub use models::games::Game;
pub use models::languages::Language;
pub use models::networks::NetworkType;
pub use models::platforms::Platform;
pub use models::searches::Search;
pub use models::themes::Theme;
pub use models::websites::Website;

Modules§

auth
Authentication Module
client
Client Module
endpoints
Endpoints
error
Error Handling
models
Models
query
Query Builder