quran_api

Last updated:

0 purchases

quran_api Image
quran_api Images
Add to Cart

Description:

quran api

Quran API #
This package provides a Dart and Flutter implementation of the Quran API based on the official documentation.
Usage #
import "package:quran_api/quran_api.dart";

Future<void> main() async {
final value = await QuranApi.instance.search.search(
queries: SearchQueries(q: "مدهامتان"),
);

print(value.data.search.query);
}
copied to clipboard
Features #
it's a work in progress, but here's what's supported so far:

Type-safe API calls and model.
Tested with 100% coverage.
Fully documented.
Implemented Using freezed, json_serializable, dio and retrofit.
All models support .toJson() and .fromJson() and .copyWith methods.
Clients

✅ Audio
✅ Chapters
✅ Juz
✅ Quran
✅ Verses
✅ Resources
✅ Search



Getting started #
In your pubspec.yaml file, add the following dependency:
dependencies:
quran_api:
copied to clipboard
Then, run flutter pub get in your terminal.
or run this command:
flutter pub add quran_api
copied to clipboard
Additional information #
This package is still in development, and the API is subject to change.
feel free to contribute to this package.
License #
Read more about the license here

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.