open_trivia_db 1.0.0 copy "open_trivia_db: ^1.0.0" to clipboard
open_trivia_db: ^1.0.0 copied to clipboard

Dart interface to https://opentdb.com/.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add open_trivia_db

With Flutter:

 $ flutter pub add open_trivia_db

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  open_trivia_db: ^1.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:open_trivia_db/open_trivia_db.dart';
0
likes
125
points
3
downloads

Publisher

verified publisherbackstreets.site

Weekly Downloads

Dart interface to https://opentdb.com/.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

dio, html_unescape, json_annotation

More

Packages that depend on open_trivia_db