gelbooru 8.0.0 copy "gelbooru: ^8.0.0" to clipboard
gelbooru: ^8.0.0 copied to clipboard

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

example/gelbooru_example.dart

import 'package:gelbooru/gelbooru.dart';

Future<void> main() async {
  final GelbooruClient client = GelbooruClient();

  final PaginatedResponse<Post> posts = await client.posts.index(
    request: const PostIndexRequest(
      tags: <String?>['blonde', 'toys'],
      limit: 5,
    ),
  );

  for (final Post p in posts) {
    print(p.fileUrl);
  }
}
2
likes
140
points
33
downloads

Publisher

verified publisherprojetretro.io

Weekly Downloads

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

Repository

Topics

#gelbooru #api #http #nsfw #art

Documentation

API reference

License

unknown (license)

Dependencies

http, meta, xml

More

Packages that depend on gelbooru