Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added option to sort by date published and popularity for news #16

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rajayush012
Copy link

With reference to #3

Added sort-by options : Top, Date Published, Popularity.

Changed the newsApi end point from '/top-headlines' to '/everything' with source as a query parameter so as to use sorting options.
Screenshot 2020-09-21 at 6 00 31 PM
Screenshot 2020-09-21 at 6 00 39 PM
Screenshot 2020-09-21 at 6 00 50 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant