import 'package:tba_api_client/api.dart';
All URIs are relative to https://www.thebluealliance.com/api/v3
Method | HTTP request | Description |
---|---|---|
getStatus | GET /status |
APIStatus getStatus(ifModifiedSince)
Returns API status, and TBA status information.
import 'package:tba_api_client/api.dart';
// TODO Configure API key authorization: apiKey
//defaultApiClient.getAuthentication<ApiKeyAuth>('apiKey').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('apiKey').apiKeyPrefix = 'Bearer';
var api_instance = TBAApi();
var ifModifiedSince = ifModifiedSince_example; // String | Value of the `Last-Modified` header in the most recently cached response by the client.
try {
var result = api_instance.getStatus(ifModifiedSince);
print(result);
} catch (e) {
print("Exception when calling TBAApi->getStatus: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
ifModifiedSince | String | Value of the `Last-Modified` header in the most recently cached response by the client. | [optional] [default to null] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]