bgg 0.1.0

  • Installing
  • Versions
  • 48

bgg API Client for Dart and Flutter.

Warning: This is not an official Google or Dart project.


// Prints the game matching ID#2536.
// Then prints all games with "Letters" in the title.
main() async {
  var http = new BggHttp();
  var bgg = new Bgg(http);
  var result = await bgg.getBoardGame(2536);
  var search = await bgg.searchGames('Letters');
  print('\nGames matching "Letters": ');
  print('* ' + =>'\n* '));


  • Initial commit.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  bgg: "^0.1.0"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

      import 'package:bgg/bgg.dart';
Version Uploaded Documentation Archive
0.1.0 Jun 5, 2017 Go to the documentation of bgg 0.1.0 Download bgg 0.1.0 archive


We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
0 / 100
Code health derived from static analysis. [more]
97 / 100
Reflects how tidy and up-to-date the package is. [more]
96 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: Flutter, web, other

No platform restriction found in primary library package:bgg/bgg.dart.


  • Package is getting outdated.

    The package was released 54 weeks ago.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use bgg.dart.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 4 hints.

    Run dartfmt to format lib/src/http.dart.

    Strong-mode analysis of lib/src/spec.dart gave the following hint:

    line: 28 col: 7
    'onError' is deprecated and shouldn't be used.

    Similar analysis of the following files failed:

    • lib/src/specs/board_game_spec.dart (hint)


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.22.0 <2.0.0
http ^0.11.3+10 0.11.3+16
meta ^1.0.5 1.1.5
xml ^2.5.0 2.6.0 3.0.0
Transitive dependencies
async 2.0.7
charcode 1.1.1
collection 1.14.10
http_parser 3.1.2
matcher 0.12.3
path 1.6.1
petitparser 1.7.6
source_span 1.4.0
string_scanner 1.0.2
typed_data 1.1.5
Dev dependencies
stack_trace ^1.3.2 1.9.2
test ^0.12.20+12