Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matanlurey/bgg.dart
BoardGameGeek.com API Client for Dart and Flutter.
https://github.com/matanlurey/bgg.dart
api boardgame boardgamegeek dart dartlang flutter
Last synced: about 1 month ago
JSON representation
BoardGameGeek.com API Client for Dart and Flutter.
- Host: GitHub
- URL: https://github.com/matanlurey/bgg.dart
- Owner: matanlurey
- License: bsd-3-clause
- Archived: true
- Created: 2017-06-05T00:59:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-05T01:00:02.000Z (over 7 years ago)
- Last Synced: 2024-09-26T01:08:04.672Z (about 2 months ago)
- Topics: api, boardgame, boardgamegeek, dart, dartlang, flutter
- Language: Dart
- Size: 6.84 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# bgg
[BoardGameGeek.com][BGG] API Client for Dart and Flutter.
[BGG]: https://www.boardgamegeek.com/
**Warning**: This is not an official Google or Dart project.
## Usage
```dart
// 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);
print(result.name);
var search = await bgg.searchGames('Letters');
print('\nGames matching "Letters": ');
print('* ' + search.map((r) => r.name).toList().join('\n* '));
http.close();
}
```