crackwatch 0.2.0
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
70
pub points
32%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http, json_annotation

More

Packages that depend on crackwatch