mastodon 0.0.5 copy "mastodon: ^0.0.5" to clipboard
mastodon: ^0.0.5 copied to clipboard

outdatedDart 1 only

A starting point for Mastodon access.

Mastodon #

A simple API for accessing Mastodon instances.

Usage #

A simple usage example:

import 'package:mastodon/mastodon.dart';

main() {
  // Using mastodon.cloud instance by default.
  var m = new Mastodon.usingAccessToken('an OAuth access token for this instance');
  for (Account a in m.findAccounts('myk*')) {
    print(a);
  }
}

See mastodon_test.dart for more examples.

Features and bugs #

Incomplete and not well tested, so it is full of them.

Fix them at https://github.com/mykdavies/Mastodon!

Todo #

  • Rate limiting mechanism not implemented.
4
likes
0
pub points
15%
popularity

Publisher

unverified uploader

A starting point for Mastodon access.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dart_feed, dartson, mime, oauth2

More

Packages that depend on mastodon