npm package: @speakeasy-sdks/hc-sdk
Description: <div align="center">     <img src="https://user-images.githubusercontent.com/6267663/235110661-00e586cc-7489-4daf-82e8-7ae3c2c7143e.svg" width="350px">     <h1>Typescript SDK</h1>    <p>Serverless cloud hosting for multiplayer games</p>    <a href="https:
Author: Speakeasy
Latest version: 1.13.1

<div align="center">
    <img src="https://user-images.githubusercontent.com/6267663/235110661-00e586cc-7489-4daf-82e8-7ae3c2c7143e.svg" width="350px">
    <h1>Typescript SDK</h1>
   <p>Serverless cloud hosting for multiplayer games</p>
   <a href="https://hathora.dev/docs"><img src="https://img.shields.io/static/v1?label=Docs&message=API Ref&color=000&style=for-the-badge" /></a>
   <a href="https://github.com/speakeasy-sdks/hathora-ts/actions"><img src="https://img.shields.io/github/actions/workflow/status/speakeasy-sdks/hathora-ts/speakeasy_sdk_generation.yml?style=for-the-badge" /></a>
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge" /></a>
  <a href="https://github.com/speakeasy-sdks/hathora-ts/releases"><img src="https://img.shields.io/github/v/release/speakeasy-sdks/hathora-ts?sort=semver&style=for-the-badge" /></a>
  <a href="https://discord.com/invite/hathora"><img src="https://img.shields.io/static/v1?label=Discord&message=Join&color=7289da&style=for-the-badge" /></a>
</div>

<!-- Start SDK Installation -->
## SDK Installation

### NPM

```bash
npm add @speakeasy-sdks/hc-sdk
```

### Yarn

```bash
yarn add @speakeasy-sdks/hc-sdk
```
<!-- End SDK Installation -->

## SDK Example Usage
<!-- Start SDK Example Usage -->
```typescript
import { Hathora } from "@speakeasy-sdks/hc-sdk";
import { CreateAppResponse } from "@speakeasy-sdks/hc-sdk/dist/sdk/models/operations";

const sdk = new Hathora();

sdk.apps.create({
  appName: "corrupti",
  authConfiguration: {
    anonymous: {},
    google: {
      clientId: "provident",
    },
    nickname: {},
  },
}, {
  auth0: "",
}).then((res: CreateAppResponse) => {
  if (res.statusCode == 200) {
    // handle response
  }
});
```
<!-- End SDK Example Usage -->

<!-- Start SDK Available Operations -->
## Available Resources and Operations


### [apps](docs/sdks/apps/README.md)

* [create](docs/sdks/apps/README.md#create)
* [delete](docs/sdks/apps/README.md#delete)
* [getAppInfo](docs/sdks/apps/README.md#getappinfo)
* [getApps](docs/sdks/apps/README.md#getapps)
* [getBuildInfo](docs/sdks/apps/README.md#getbuildinfo)
* [getBuilds](docs/sdks/apps/README.md#getbuilds)
* [update](docs/sdks/apps/README.md#update)

### [auth](docs/sdks/auth/README.md)

* [loginAnonymous](docs/sdks/auth/README.md#loginanonymous)
* [loginGoogle](docs/sdks/auth/README.md#logingoogle)
* [loginNickname](docs/sdks/auth/README.md#loginnickname)

### [builds](docs/sdks/builds/README.md)

* [create](docs/sdks/builds/README.md#create)
* [delete](docs/sdks/builds/README.md#delete)
* [run](docs/sdks/builds/README.md#run)

### [deployment](docs/sdks/deployment/README.md)

* [create](docs/sdks/deployment/README.md#create)
* [getDeploymentInfo](docs/sdks/deployment/README.md#getdeploymentinfo)
* [getDeployments](docs/sdks/deployment/README.md#getdeployments)

### [discovery](docs/sdks/discovery/README.md)

* [getPingServiceEndpoints](docs/sdks/discovery/README.md#getpingserviceendpoints)

### [lobby](docs/sdks/lobby/README.md)

* [create](docs/sdks/lobby/README.md#create)
* [~~deprecatedCreateLocalLobby~~](docs/sdks/lobby/README.md#deprecatedcreatelocallobby) - :warning: **Deprecated**
* [~~deprecatedCreatePrivateLobby~~](docs/sdks/lobby/README.md#deprecatedcreateprivatelobby) - :warning: **Deprecated**
* [~~deprecatedCreatePublicLobby~~](docs/sdks/lobby/README.md#deprecatedcreatepubliclobby) - :warning: **Deprecated**
* [~~deprecatedV1CreatePrivateLobby~~](docs/sdks/lobby/README.md#deprecatedv1createprivatelobby) - :warning: **Deprecated**
* [~~deprecatedV1CreatePublicLobby~~](docs/sdks/lobby/README.md#deprecatedv1createpubliclobby) - :warning: **Deprecated**
* [~~deprecatedV1ListActivePublicLobbies~~](docs/sdks/lobby/README.md#deprecatedv1listactivepubliclobbies) - :warning: **Deprecated**
* [getLobbyInfo](docs/sdks/lobby/README.md#getlobbyinfo)
* [listActive](docs/sdks/lobby/README.md#listactive)
* [setLobbyState](docs/sdks/lobby/README.md#setlobbystate)

### [logs](docs/sdks/logs/README.md)

* [getLogsForApp](docs/sdks/logs/README.md#getlogsforapp)
* [getLogsForDeployment](docs/sdks/logs/README.md#getlogsfordeployment)
* [getLogsForProcess](docs/sdks/logs/README.md#getlogsforprocess)

### [metrics](docs/sdks/metrics/README.md)

* [getMetrics](docs/sdks/metrics/README.md#getmetrics)

### [processes](docs/sdks/processes/README.md)

* [getProcessInfo](docs/sdks/processes/README.md#getprocessinfo)
* [getRunning](docs/sdks/processes/README.md#getrunning)
* [getStopped](docs/sdks/processes/README.md#getstopped)

### [rooms](docs/sdks/rooms/README.md)

* [create](docs/sdks/rooms/README.md#create)
* [destroy](docs/sdks/rooms/README.md#destroy)
* [getActive](docs/sdks/rooms/README.md#getactive)
* [getConnectionInfo](docs/sdks/rooms/README.md#getconnectioninfo)
* [getInactive](docs/sdks/rooms/README.md#getinactive)
* [getRoomInfo](docs/sdks/rooms/README.md#getroominfo)
* [suspend](docs/sdks/rooms/README.md#suspend)
<!-- End SDK Available Operations -->

### Maturity

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
looking for the latest version.

### Contributions

While we value open-source contributions to this SDK, this library is generated programmatically.
Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !

### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)