really_bored 0.0.1+3 copy "really_bored: ^0.0.1+3" to clipboard
really_bored: ^0.0.1+3 copied to clipboard

A simple implementation of `The Bored API` used to test the GM Consult core libraries.

GM Consult Pty Ltd

A simple implementation of The Bored API . #

This is a simple DART implementation of the Bored API we built to test our core dart libraries.

It is by no means intended as a full API implementation.

Contents:

Overview #

The Bored API helps you find things to do when you're bored! There are fields like the number of participants, activity type, and more that help you narrow down your results (unashamedly plagiarized from the Bored Api page on the InterWeb).

If you don't know what bored means (or you are, indeed, bored), check out the definition of bored!

We provide a few static methods that asynchronously returns an activity from the API based on parameters, or just go for Bored.random.

(back to top)

Usage #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  really_bored: <latest_version>

In your code file add the following import:

import 'package:really_bored/really_bored.dart';

Just go for Bored.random:

  activity = await Bored.random;

Or get an activity using parameters:

  activity = await Bored.kitchenSink(
      minPrice: 0.2, maxPrice: 1.0, minAccessibility: 0.6, participants: 2);

(back to top)

API #

Full API documentation, sort of...

(back to top)

Definitions #

  • bored - feeling weary and impatient because one is unoccupied or lacks interest in one's current activity (Oxford English Dictionary).

(back to top)

References #

(back to top)

Issues #

We got bored (sic) testing this. If you find a bug please fill an issue.

(back to top)

0
likes
150
pub points
14%
popularity

Publisher

verified publishergmconsult.com.au

A simple implementation of `The Bored API` used to test the GM Consult core libraries.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

gmconsult_dart_core

More

Packages that depend on really_bored