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

outdated

Dart API client library for www.thebluealliance.com. Maintained by the RobluScouting team at www.roblu.net.

example/main.dart

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

void main() {
  Dio dio = Dio(BaseOptions(
      headers: {"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
0
points
40
downloads

Publisher

unverified uploader

Weekly Downloads

Dart API client library for www.thebluealliance.com. Maintained by the RobluScouting team at www.roblu.net.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

built_collection, built_value, dio

More

Packages that depend on tba_api_v3