Skip to content

Latest commit

 

History

History
executable file
·
61 lines (40 loc) · 1.67 KB

TBAApi.md

File metadata and controls

executable file
·
61 lines (40 loc) · 1.67 KB

swagger.api.TBAApi

Load the API package

import 'package:swagger/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:swagger/api.dart';
// TODO Configure API key authorization: apiKey
//swagger.api.Configuration.apiKey{'X-TBA-Auth-Key'} = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//swagger.api.Configuration.apiKeyPrefix{'X-TBA-Auth-Key'} = "Bearer";

var api_instance = new 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]

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]