npm package: @fugashu/frontierwheel-api-client
Description: OpenAPI client for @fugashu/frontierwheel-api-client
Author: OpenAPI-Generator Contributors
Latest version: 1.0.9

## @fugashu/frontierwheel-api-client@1.0.6

This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:

Environment
* Node.js
* Webpack
* Browserify

Language level
* ES5 - you must have a Promises/A+ library installed
* ES6

Module system
* CommonJS
* ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))

### Building

To build and compile the typescript sources to javascript use:
```
npm install
npm run build
```

### Publishing

First build the package then run `npm publish`

### Consuming

navigate to the folder of your consuming project and run one of the following commands.

_published:_

```
npm install @fugashu/frontierwheel-api-client@1.0.6 --save
```

_unPublished (not recommended):_

```
npm install PATH_TO_GENERATED_PACKAGE --save
```

### Documentation for API Endpoints

All URIs are relative to *http://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**appControllerGetHello**](docs/DefaultApi.md#appcontrollergethello) | **GET** /app | Get a hello message
*DefaultApi* | [**authControllerAuthenticate**](docs/DefaultApi.md#authcontrollerauthenticate) | **POST** /auth/authenticate | Authenticate a user with their Metamask wallet
*DefaultApi* | [**authControllerGetNonce**](docs/DefaultApi.md#authcontrollergetnonce) | **GET** /auth/nonce | Get a nonce message for wallet authentication
*DefaultApi* | [**bettingControllerCompleteBettingRound**](docs/DefaultApi.md#bettingcontrollercompletebettinground) | **POST** /betting/rounds/{id}/complete | Complete a betting round and determine a winner
*DefaultApi* | [**bettingControllerCreateBettingRound**](docs/DefaultApi.md#bettingcontrollercreatebettinground) | **POST** /betting/rounds | Create a new betting round
*DefaultApi* | [**bettingControllerGetAllBettingRounds**](docs/DefaultApi.md#bettingcontrollergetallbettingrounds) | **GET** /betting/rounds | Get all betting rounds
*DefaultApi* | [**bettingControllerGetBettingRoundById**](docs/DefaultApi.md#bettingcontrollergetbettingroundbyid) | **GET** /betting/rounds/{id} | Get a betting round by ID
*DefaultApi* | [**bettingControllerPlaceWager**](docs/DefaultApi.md#bettingcontrollerplacewager) | **POST** /betting/wagers | Place a wager in the latest open betting round
*DefaultApi* | [**lobbyControllerCreateLobby**](docs/DefaultApi.md#lobbycontrollercreatelobby) | **POST** /lobby | Create a new lobby
*DefaultApi* | [**lobbyControllerGetAllLobbies**](docs/DefaultApi.md#lobbycontrollergetalllobbies) | **GET** /lobby | Get all active lobbies
*DefaultApi* | [**lobbyControllerGetLobbyById**](docs/DefaultApi.md#lobbycontrollergetlobbybyid) | **GET** /lobby/{id} | Get a lobby by ID
*DefaultApi* | [**lobbyControllerJoinLobby**](docs/DefaultApi.md#lobbycontrollerjoinlobby) | **POST** /lobby/{id}/join | Join a lobby
*DefaultApi* | [**lobbyControllerLeaveLobby**](docs/DefaultApi.md#lobbycontrollerleavelobby) | **DELETE** /lobby/{id}/leave | Leave a lobby


### Documentation For Models

 - [AuthenticateDto](docs/AuthenticateDto.md)
 - [AuthenticateResponseDto](docs/AuthenticateResponseDto.md)
 - [BettingRoundDto](docs/BettingRoundDto.md)
 - [CreateBettingRoundDto](docs/CreateBettingRoundDto.md)
 - [CreateLobbyDto](docs/CreateLobbyDto.md)
 - [LobbyDto](docs/LobbyDto.md)
 - [NonceResponseDto](docs/NonceResponseDto.md)
 - [PlaceWagerDto](docs/PlaceWagerDto.md)
 - [UserActionDto](docs/UserActionDto.md)
 - [UserDto](docs/UserDto.md)
 - [WagerDto](docs/WagerDto.md)


<a id="documentation-for-authorization"></a>
## Documentation For Authorization

Endpoints do not require authorization.