A wrapper for the CrackWatch API

Usage

A simple usage example:

import 'package:crackwatch/crackwatch.dart';

main() async {
   var cw = CrackWatch();
   try {
     var games = await cw.getGames();
     var cracks = await cw.getCracks();
  
     print('First game: \n${games[0]}');
  
     print('First crack: \n${cracks[0]}');
   } catch (e) {
     print(e);
   }
}

License

MIT

Libraries

crackwatch