Statbotics class

A class providing methods for interacting with the Statbotics API.

Constructors

Statbotics()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

baseUri String
The base URI for all Statbotics API requests.
final

Static Methods

getData(String path) Future<Map<String, dynamic>>
General method for fetching data from a specific path.
getEventData(String eventId) Future<Event>
Fetches data for a specific event identified by eventId.
getEventMatches(String eventId) Future<List<Match>>
Fetches all matches associated with a specific event identified by eventId.
getMatchData(String matchId) Future<Match>
Fetches data for a specific match identified by matchId.
getTeamData(int teamNumber) Future<Team>
Fetches data for a specific FRC team identified by teamNumber.
getTeamYearStats(int teamNumber, int year) Future<TeamYearStats>
Fetches team statistics for a specific teamNumber and year.
getYearEvents(int year) Future<List<Event>>
Fetches all events held in a specific year.
getYearStatsData(int year) Future<YearStats>
Fetches yearly statistics for the specified year.