formula1_data 0.1.8 copy "formula1_data: ^0.1.8" to clipboard
formula1_data: ^0.1.8 copied to clipboard

A Flutter plugin for retrieving and graphing Formula1™ data.

formula1_data #

A Dart package of Formula1™.

Sample #

Constructors #

Get Constructors data.

import 'package:/formula1_data/formula1_data.dart';

final year = DateTime.now().year;
final constructors = await getConstructors(year: year);
print(constructors.toString());

Drivers #

Get Drivers data.

import 'package:/formula1_data/formula1_data.dart';

final year = DateTime.now().year;
final drivers = await getDrivers(year: year);
print(drivers.toString());

Results #

Get Results data.

import 'package:/formula1_data/formula1_data.dart';

final year = DateTime.now().year;
final int round = 1;
final results = await getResults(year: year, round: round);
print(results.toString());

Schedule #

Get Schedule data.

import 'package:/formula1_data/formula1_data.dart';

final schedules = await getSchedule();
print(schedules.toString());

Status #

Get Status data.

import 'package:/formula1_data/formula1_data.dart';

final status = await getStatus();
print(status.toString());

Dataset License #

Basically, the datasets are licensed under Apache License 2.0

  1. jolpica-f1
2
likes
140
points
137
downloads

Publisher

verified publisherdev.own-world-grp.net

Weekly Downloads

A Flutter plugin for retrieving and graphing Formula1™ data.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dio, flutter, logger

More

Packages that depend on formula1_data