|
1 |
| -# TBA-API-Client.api.DistrictApi |
| 1 | +# tba_api_client.api.DistrictApi |
2 | 2 |
|
3 | 3 | ## Load the API package
|
4 | 4 | ```dart
|
5 |
| -import 'package:TBA-API-Client/api.dart'; |
| 5 | +import 'package:tba_api_client/api.dart'; |
6 | 6 | ```
|
7 | 7 |
|
8 | 8 | All URIs are relative to *https://www.thebluealliance.com/api/v3*
|
@@ -30,7 +30,7 @@ Gets a list of events in the given district.
|
30 | 30 |
|
31 | 31 | ### Example
|
32 | 32 | ```dart
|
33 |
| -import 'package:TBA-API-Client/api.dart'; |
| 33 | +import 'package:tba_api_client/api.dart'; |
34 | 34 | // TODO Configure API key authorization: apiKey
|
35 | 35 | //defaultApiClient.getAuthentication<ApiKeyAuth>('apiKey').apiKey = 'YOUR_API_KEY';
|
36 | 36 | // uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
@@ -79,7 +79,7 @@ Gets a list of event keys for events in the given district.
|
79 | 79 |
|
80 | 80 | ### Example
|
81 | 81 | ```dart
|
82 |
| -import 'package:TBA-API-Client/api.dart'; |
| 82 | +import 'package:tba_api_client/api.dart'; |
83 | 83 | // TODO Configure API key authorization: apiKey
|
84 | 84 | //defaultApiClient.getAuthentication<ApiKeyAuth>('apiKey').apiKey = 'YOUR_API_KEY';
|
85 | 85 | // uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
@@ -128,7 +128,7 @@ Gets a short-form list of events in the given district.
|
128 | 128 |
|
129 | 129 | ### Example
|
130 | 130 | ```dart
|
131 |
| -import 'package:TBA-API-Client/api.dart'; |
| 131 | +import 'package:tba_api_client/api.dart'; |
132 | 132 | // TODO Configure API key authorization: apiKey
|
133 | 133 | //defaultApiClient.getAuthentication<ApiKeyAuth>('apiKey').apiKey = 'YOUR_API_KEY';
|
134 | 134 | // uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
@@ -177,7 +177,7 @@ Gets a list of team district rankings for the given district.
|
177 | 177 |
|
178 | 178 | ### Example
|
179 | 179 | ```dart
|
180 |
| -import 'package:TBA-API-Client/api.dart'; |
| 180 | +import 'package:tba_api_client/api.dart'; |
181 | 181 | // TODO Configure API key authorization: apiKey
|
182 | 182 | //defaultApiClient.getAuthentication<ApiKeyAuth>('apiKey').apiKey = 'YOUR_API_KEY';
|
183 | 183 | // uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
@@ -226,7 +226,7 @@ Gets a list of `Team` objects that competed in events in the given district.
|
226 | 226 |
|
227 | 227 | ### Example
|
228 | 228 | ```dart
|
229 |
| -import 'package:TBA-API-Client/api.dart'; |
| 229 | +import 'package:tba_api_client/api.dart'; |
230 | 230 | // TODO Configure API key authorization: apiKey
|
231 | 231 | //defaultApiClient.getAuthentication<ApiKeyAuth>('apiKey').apiKey = 'YOUR_API_KEY';
|
232 | 232 | // uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
@@ -275,7 +275,7 @@ Gets a list of `Team` objects that competed in events in the given district.
|
275 | 275 |
|
276 | 276 | ### Example
|
277 | 277 | ```dart
|
278 |
| -import 'package:TBA-API-Client/api.dart'; |
| 278 | +import 'package:tba_api_client/api.dart'; |
279 | 279 | // TODO Configure API key authorization: apiKey
|
280 | 280 | //defaultApiClient.getAuthentication<ApiKeyAuth>('apiKey').apiKey = 'YOUR_API_KEY';
|
281 | 281 | // uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
@@ -324,7 +324,7 @@ Gets a short-form list of `Team` objects that competed in events in the given di
|
324 | 324 |
|
325 | 325 | ### Example
|
326 | 326 | ```dart
|
327 |
| -import 'package:TBA-API-Client/api.dart'; |
| 327 | +import 'package:tba_api_client/api.dart'; |
328 | 328 | // TODO Configure API key authorization: apiKey
|
329 | 329 | //defaultApiClient.getAuthentication<ApiKeyAuth>('apiKey').apiKey = 'YOUR_API_KEY';
|
330 | 330 | // uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
@@ -373,7 +373,7 @@ Gets a list of districts and their corresponding district key, for the given yea
|
373 | 373 |
|
374 | 374 | ### Example
|
375 | 375 | ```dart
|
376 |
| -import 'package:TBA-API-Client/api.dart'; |
| 376 | +import 'package:tba_api_client/api.dart'; |
377 | 377 | // TODO Configure API key authorization: apiKey
|
378 | 378 | //defaultApiClient.getAuthentication<ApiKeyAuth>('apiKey').apiKey = 'YOUR_API_KEY';
|
379 | 379 | // uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
@@ -422,7 +422,7 @@ Gets a list of team rankings for the Event.
|
422 | 422 |
|
423 | 423 | ### Example
|
424 | 424 | ```dart
|
425 |
| -import 'package:TBA-API-Client/api.dart'; |
| 425 | +import 'package:tba_api_client/api.dart'; |
426 | 426 | // TODO Configure API key authorization: apiKey
|
427 | 427 | //defaultApiClient.getAuthentication<ApiKeyAuth>('apiKey').apiKey = 'YOUR_API_KEY';
|
428 | 428 | // uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
@@ -471,7 +471,7 @@ Gets an array of districts representing each year the team was in a district. Wi
|
471 | 471 |
|
472 | 472 | ### Example
|
473 | 473 | ```dart
|
474 |
| -import 'package:TBA-API-Client/api.dart'; |
| 474 | +import 'package:tba_api_client/api.dart'; |
475 | 475 | // TODO Configure API key authorization: apiKey
|
476 | 476 | //defaultApiClient.getAuthentication<ApiKeyAuth>('apiKey').apiKey = 'YOUR_API_KEY';
|
477 | 477 | // uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
0 commit comments