Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.73 KB

TBAApi.md

File metadata and controls

61 lines (40 loc) · 1.73 KB

tba_api_client.api.TBAApi

Load the API package

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

getStatus

APIStatus getStatus(ifModifiedSince)

Returns API status, and TBA status information.

Example

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");
}

Parameters

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]

Return type

APIStatus

Authorization

apiKey

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]