# FacePokerApi.CardsApi

All URIs are relative to *https://virtserver.swaggerhub.com/krzynool/FacePokerSwag/1.0.0*

Method | HTTP request | Description
------------- | ------------- | -------------
[**getCards**](CardsApi.md#getCards) | **GET** /table/{tableId}/player/{playerId}/cards | Get my cards


<a name="getCards"></a>
# **getCards**
> Hand getCards(authorization, tableId, playerId)

Get my cards

### Example
```javascript
var FacePokerApi = require('face_poker_api');

var apiInstance = new FacePokerApi.CardsApi();

var authorization = "authorization_example"; // String | Should be a bearer token generated from the secret

var tableId = "tableId_example"; // String | ID of table

var playerId = "playerId_example"; // String | ID of the player

apiInstance.getCards(authorization, tableId, playerId).then(function(data) {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **authorization** | **String**| Should be a bearer token generated from the secret | 
 **tableId** | **String**| ID of table | 
 **playerId** | **String**| ID of the player | 

### Return type

[**Hand**](Hand.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

