tba_api_v3 1.1.1 copy "tba_api_v3: ^1.1.1" to clipboard
tba_api_v3: ^1.1.1 copied to clipboard

Unofficial Dart library for the TheBlueAlliance.com API. This uses the OpenAPI cli to generate the dart library.

example/main.dart

import 'package:tba_api_v3/tba_api_v3.dart';
import 'package:dio/dio.dart';

void main() async {
  Dio dio = Dio(BaseOptions(
      headers: <String, String>{"X-TBA-Auth-Key": "Your-TBA-Auth-Key"},
      baseUrl: "https://www.thebluealliance.com/api/v3"));

  final api = EventApi(dio, standardSerializers);

  try {
    final response = await api.getEvent(eventKey: "2018mndu2");
    print(response);
  } catch (e) {
    print("Exception when calling DistrictApi->getDistrictEvents: $e\n");
  }
}
0
likes
160
points
44
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Unofficial Dart library for the TheBlueAlliance.com API. This uses the OpenAPI cli to generate the dart library.

Repository (GitHub)
View/report issues

License

LGPL-3.0 (license)

Dependencies

built_collection, built_value, dio, one_of, one_of_serializer

More

Packages that depend on tba_api_v3