Skip to content

Commit

Permalink
add README
Browse files Browse the repository at this point in the history
  • Loading branch information
intelligide committed Mar 23, 2020
1 parent 626cee0 commit 163412d
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# OpenMatch C# API

[![Nuget](https://img.shields.io/nuget/dt/OpenMatch.Api)](https://www.nuget.org/packages/OpenMatch.Api/) [![Azure Pipelines](https://img.shields.io/azure-devops/build/arsenstudio/4f5c7cb3-18f7-4b44-ab1e-c9a6a6e38873/5)](https://arsenstudio.visualstudio.com/OpenMatch%20CSharp/)


# Usage

```sh
dotnet add package OpenMatch.Api
```

## Getting started

### Client

```c#
// Create the grpc.
using var channel = GrpcChannel.ForAddress("https://localhost:5001");

var frontendClient = new OpenMatch.FrontendService.FrontendServiceClient(channel);

await frontendClient.CreateTicketAsync(request);
```

There is others services:
- `OpenMatch.FrontendService.FrontendServiceClient`
- `OpenMatch.BackendService.BackendServiceClient`
- `OpenMatch.EvaluatorService.EvaluatorServiceClient`
- `OpenMatch.MatchFunction.MatchFunctionServiceClient`
- `OpenMatch.QueryService.QueryServiceClient`


See [Open Match API References](https://open-match.dev/site/docs/reference/api/) for more informations.


## Contributing

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for instructions on how to contribute.

0 comments on commit 163412d

Please sign in to comment.