1

I am new to flutter , I am creating an app and want to integrate JSON API in my application for Quran , Qibla and all things like this. Kindly suggest me best API for this requirement and how i will be able to integrate this API in my App?

  Future<Map> getNews() async {
  String apiurl = "https://your url/";
  http.Response response = await http.get(apiurl);
  return json.decode(response.body);
}

1 Answers1

0

You can get required API URLs by visiting relevant platforms like Al Quran for Quran. Here is an example URL for all the Surah in Quran. For Ahadith, you can get APIs from Sunah.com. Also, see a Sample App for what you are trying to create. You'll need to google stuff for each of your requirements and features.

Tahir
  • 170
  • 10