CCExtractor Development

Integrate “newsapi.org” API to fetch news related to a particular disease in NewsScreen.

Prerequisite:

Go through the description of the app before solving this task

.

Requirements:

Navigate to NewsScreen in the disease app

Integrate “newsapi.org/v2/everything?q=disease_name” API in this screen and display all the news of a particular disease in the UI of this screen

Expected Outcome:

    1. “newsapi.org/v2/everything?q=disease_name” API should be
     integrated in NewsScreen  
    2.  All news of a particular disease should be fetched from
                “newsapi.org/v2/everything?q=disease_name” API provided

Resources:

If you’re stuck somewhere, feel free to post your questions in #general channel on our Slack workspace

Read this blog on “How to fetch data from API in Flutter” [https://blog.usejournal.com/flutter-http-requests-with-dio-rxdart-and-bloc-da325ca5fe33]

API link

Task tags

  • flutter
  • dart

Students who completed this task

Techno-Disaster

Task type

  • code Code
close

2019