All URIs are relative to https://api.wall.et
| Method | HTTP request | Description |
|---|---|---|
| archive_gaming | DELETE /v2/gaming/{id} | Archive Gaming info |
| create_gaming | POST /v2/gaming | Create Gaming info |
| fetch_all_gaming | GET /v2/gaming/all | Get all Gaming details |
| restore_gaming | PATCH /v2/gaming/{id} | Restore Gaming info |
| update_gaming | PUT /v2/gaming/{id} | Update Gaming info |
Gaming archive_gaming(id)
Archive Gaming info
import wallet
from wallet.models.gaming import Gaming
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.GamingApi(api_client)
id = 'id_example' # str |
try:
# Archive Gaming info
api_response = api_instance.archive_gaming(id)
print("The response of GamingApi->archive_gaming:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling GamingApi->archive_gaming: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Gaming create_gaming(wt_gaming_create_params)
Create Gaming info
import wallet
from wallet.models.gaming import Gaming
from wallet.models.wt_gaming_create_params import WTGamingCreateParams
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.GamingApi(api_client)
wt_gaming_create_params = wallet.WTGamingCreateParams() # WTGamingCreateParams |
try:
# Create Gaming info
api_response = api_instance.create_gaming(wt_gaming_create_params)
print("The response of GamingApi->create_gaming:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling GamingApi->create_gaming: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| wt_gaming_create_params | WTGamingCreateParams |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object fetch_all_gaming(is_archive_included=is_archive_included)
Get all Gaming details
import wallet
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.GamingApi(api_client)
is_archive_included = True # bool | (optional)
try:
# Get all Gaming details
api_response = api_instance.fetch_all_gaming(is_archive_included=is_archive_included)
print("The response of GamingApi->fetch_all_gaming:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling GamingApi->fetch_all_gaming: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| is_archive_included | bool | [optional] |
object
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Gaming restore_gaming(id)
Restore Gaming info
import wallet
from wallet.models.gaming import Gaming
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.GamingApi(api_client)
id = 'id_example' # str |
try:
# Restore Gaming info
api_response = api_instance.restore_gaming(id)
print("The response of GamingApi->restore_gaming:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling GamingApi->restore_gaming: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Gaming update_gaming(id, wt_gaming_update_params)
Update Gaming info
import wallet
from wallet.models.gaming import Gaming
from wallet.models.wt_gaming_update_params import WTGamingUpdateParams
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.GamingApi(api_client)
id = 'id_example' # str |
wt_gaming_update_params = wallet.WTGamingUpdateParams() # WTGamingUpdateParams |
try:
# Update Gaming info
api_response = api_instance.update_gaming(id, wt_gaming_update_params)
print("The response of GamingApi->update_gaming:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling GamingApi->update_gaming: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | ||
| wt_gaming_update_params | WTGamingUpdateParams |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]