# Rust API client for gamebrain
GameBrain API
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client.
- API version: 1.0.1
- Package version: 1.0.2
- Generator version: 7.8.0-SNAPSHOT
- Build package: `org.openapitools.codegen.languages.RustClientCodegen`
## Installation
Put the package under your project folder in a directory named `gamebrain` and add the following to `Cargo.toml` under `[dependencies]`:
```
gamebrain = { path = "./gamebrain" }
```
## Documentation for API Endpoints
All URIs are relative to *https://api.gamebrain.co/v1*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**detail**](docs/DefaultApi.md#detail) | **GET** /games/{id} | Get Game Details
*DefaultApi* | [**news**](docs/DefaultApi.md#news) | **GET** /games/{id}/news | Get Game News
*DefaultApi* | [**search**](docs/DefaultApi.md#search) | **GET** /games | Search Games
*DefaultApi* | [**similar**](docs/DefaultApi.md#similar) | **GET** /games/{id}/similar | Get Similar Games
*DefaultApi* | [**suggest**](docs/DefaultApi.md#suggest) | **GET** /games/suggestions | Get Game Suggestions
## Documentation For Models
- [GameNewsItem](docs/GameNewsItem.md)
- [GameNewsResponse](docs/GameNewsResponse.md)
- [GameResponse](docs/GameResponse.md)
- [GameResponseOffersInner](docs/GameResponseOffersInner.md)
- [GameResponseOffersInnerPrice](docs/GameResponseOffersInnerPrice.md)
- [GameResponseOfficialStoresInner](docs/GameResponseOfficialStoresInner.md)
- [GameResponsePlatformsInner](docs/GameResponsePlatformsInner.md)
- [GameResponsePlaytime](docs/GameResponsePlaytime.md)
- [GameResponseRating](docs/GameResponseRating.md)
- [SearchResponse](docs/SearchResponse.md)
- [SearchResponseActiveFilterOptionsInner](docs/SearchResponseActiveFilterOptionsInner.md)
- [SearchResponseActiveFilterOptionsInnerValuesInner](docs/SearchResponseActiveFilterOptionsInnerValuesInner.md)
- [SearchResponseFilterOptionsInner](docs/SearchResponseFilterOptionsInner.md)
- [SearchResponseFilterOptionsInnerValuesInner](docs/SearchResponseFilterOptionsInnerValuesInner.md)
- [SearchResponseResultsInner](docs/SearchResponseResultsInner.md)
- [SearchResponseResultsInnerRating](docs/SearchResponseResultsInnerRating.md)
- [SearchResponseSorting](docs/SearchResponseSorting.md)
- [SearchResponseSortingOptionsInner](docs/SearchResponseSortingOptionsInner.md)
- [SearchSuggestionResponse](docs/SearchSuggestionResponse.md)
- [SearchSuggestionResponseResultsInner](docs/SearchSuggestionResponseResultsInner.md)
- [SimilarGamesResponse](docs/SimilarGamesResponse.md)
To get access to the crate's generated documentation, use:
```
cargo doc --open
```
## Author
mail@gamebrain.co