crackwatch 0.2.0 copy "crackwatch: ^0.2.0" to clipboard
crackwatch: ^0.2.0 copied to clipboard

A wrapper for the CrackWatch API (https://crackwatch.com/api)

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

0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A wrapper for the CrackWatch API (https://crackwatch.com/api)

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

http, json_annotation

More

Packages that depend on crackwatch