mastodon 0.0.2 mastodon: ^0.0.2 copied to clipboard
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 by default.
var m = new Mastodon.usingAccessToken('an OAuth access token for this instance');
for (Account a in m.findAccounts('myk*')) {
print(a);
}
}
Features and bugs #
Incomplete and not well tested, so it is full of them.
Fix them at https://github.com/mykdavies/Mastodon!