mastodon_client 1.0.0-beta.1
mastodon_client: ^1.0.0-beta.1 copied to clipboard
A pure Dart Mastodon API client. Covers accounts, statuses, timelines, notifications, media, filters, and admin APIs with OAuth, pagination, and typed error handling.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mastodon_clientWith Flutter:
$ flutter pub add mastodon_clientThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
mastodon_client: ^1.0.0-beta.1Alternatively, 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:mastodon_client/mastodon_client.dart';