import { IGDBOptions } from '../interface/igdb'; import { AchievementsEndpointResponse, CharacterEndpointResponse, CollectionEndpointResponse, CompanyEndpointResponse, CreditEndpointResponse, ExternalReviewEndpointResponse, ExternalReviewSourceEndpointResponse, FeedEndpointResponse, FranchiseEndpointResponse, GameEndpointResponse, GameEngineEndpointResponse, GameModeEndpointResponse, GameVersionEndpointResponse, GenreEndpointResponse, KeywordEndpointResponse, UserProfileEndpointResponse, PageEndpointResponse, PersonEndpointResponse, PlatformEndpointResponse, PlayerPerspecitveEndpointResponse, PulseEndpointResponse, PulseGroupEndpointResponse, PulseSourceEndpointResponse, ReleaseDateEndpointResponse, ReviewEndpointResponse, ThemeEndpointResponse, TitleEndpointResponse } from '../interface/endpoint-response'; export declare class IGDBEndpoint { /** * API key received from IGDB. */ API_KEY: string; /** * URL Helper class */ private IGDBUrl; /** * Setting up the endpoint instance * @param igdb_api_key API key received from IGDB */ constructor(igdb_api_key: string); /** * Sending the actual request * @param endpoint An IGDB endpoint to query * @param options An options object to customize the query */ private request; /** * Return the request as a promise. * @param endpoint The endpoint to get the data from * @param options An options object for the request */ private asPromise; /** * Fetch data using ACHIEVEMENTS endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/achievements */ achievements(options: IGDBOptions): Promise; /** * Fetch data using CHARACTER endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/character */ character(options: IGDBOptions): Promise; /** * Fetch data using COLLECTION endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/collection */ collection(options: IGDBOptions): Promise; /** * Fetch data using COMPANY endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/company */ company(options: IGDBOptions): Promise; /** * Fetch data using CREDITS endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/credits */ credits(options: IGDBOptions): Promise; /** * Fetch data using ACHIEVEMENTS endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/achievements */ feed(options: IGDBOptions): Promise; /** * Fetch data using EXTERNAL REVIEW endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/external-review */ externalReview(options: IGDBOptions): Promise; /** * Fetch data using EXTERNAL REVIEW SOURCE endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/external-review-source */ externalReviewSource(options: IGDBOptions): Promise; /** * Fetch data using FRANCHISE endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/franchise */ franchise(options: IGDBOptions): Promise; /** * Fetch data using GAME endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/game */ game(options: IGDBOptions): Promise; /** * Fetch data using GAME ENGINE endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/game-engine */ gameEngine(options: IGDBOptions): Promise; /** * Fetch data using GAME MODE endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/game-mode */ gameMode(options: IGDBOptions): Promise; /** * Fetch data using GENRE endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/genre */ genre(options: IGDBOptions): Promise; /** * Fetch data using KEYWORD endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/keyword */ keyword(options: IGDBOptions): Promise; /** * Fetch data using PAGE endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/page */ page(options: IGDBOptions): Promise; /** * Fetch data using PERSON endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/person */ person(options: IGDBOptions): Promise; /** * Fetch data using PLATFORM endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/platform */ platform(options: IGDBOptions): Promise; /** * Fetch data using PLAYER PERSPECTIVE endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/player-perspective */ playerPerspective(options: IGDBOptions): Promise; /** * Fetch data using PULSE endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/pulse */ pulse(options: IGDBOptions): Promise; /** * Fetch data using PULSE GROUP endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/pulse-groups */ pulseGroup(options: IGDBOptions): Promise; /** * Fetch data using PULSE SOURCE endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/pulse-source */ pulseSource(options: IGDBOptions): Promise; /** * Fetch data using RELEASE DATE endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/release-date */ releaseDate(options: IGDBOptions): Promise; /** * Fetch data using REVIEW endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/review */ review(options: IGDBOptions): Promise; /** * Fetch data using THEME endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/theme */ theme(options: IGDBOptions): Promise; /** * Fetch data using TITLE endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/title */ title(options: IGDBOptions): Promise; /** * Fetch data using USER PROFILE endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/me */ userProfile(options: IGDBOptions): Promise; /** * Fetch data using VERSIONS endpoint * @param options An option object to customize the query * @link https://igdb.github.io/api/endpoints/version */ gameVersion(options: IGDBOptions): Promise; }