annas_archive_api 0.0.2+1 copy "annas_archive_api: ^0.0.2+1" to clipboard
annas_archive_api: ^0.0.2+1 copied to clipboard

Anna's archive API is an easy to use SDK for interacting with the popular Anna's Archive Service. It provides a simple interface for fetching and parsing data from the service.

Flutter SDK for Anna's Archive Service.

Features #

  • Returns a List of books based on a search request.
  • Returns a download link for a book.

Getting started #

Usage #

final annaApi = AnnaApi();
const searchRequest = SearchRequest(
    query: 'harry potter',
    categories: [Category.fiction],
    formats: [Format.epub, Format.pdf],
    limit: 5,
    language: Language.french,
    sort: SortOption.smallest,
);

final books = await annaApi.find(searchRequest);

final downloadLink = await annaApi.getDownloadLink(books.first.md5);

Additional information #

1
likes
0
points
308
downloads

Publisher

verified publishertribestick.com

Weekly Downloads

Anna's archive API is an easy to use SDK for interacting with the popular Anna's Archive Service. It provides a simple interface for fetching and parsing data from the service.

Homepage

License

unknown (license)

Dependencies

beautiful_soup_dart, flutter, freezed_annotation, http, json_annotation

More

Packages that depend on annas_archive_api