gelbooru 5.0.0+1 copy "gelbooru: ^5.0.0+1" to clipboard
gelbooru: ^5.0.0+1 copied to clipboard

An Gelboory API client written in Dart and powered by the `http` package !

example/lib/gelbooru_example.dart

import 'package:gelbooru/gelbooru.dart';

/// Get last 10 posts from Gelbooru
void main() async {
  final client = GelbooruClient(baseUrl: 'https://gelbooru.com');

  try {
    final PostPageResponse posts = await client.posts.index(limit: 10);

    for (final Post post in posts) {
      print(post.fileUrl);
    }
  } catch (e) {
    print(e);
  }
}
1
likes
120
points
85
downloads

Publisher

verified publisherprojetretro.io

Weekly Downloads

An Gelboory API client written in Dart and powered by the `http` package !

Repository (GitLab)
View/report issues

Topics

#gelbooru #api #http #nsfw #art

Documentation

API reference

License

unknown (license)

Dependencies

http, meta, xml

More

Packages that depend on gelbooru