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 sort by date published and popularity for news #9

Closed
wants to merge 4 commits into 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.

@rajayush012
Copy link
Author

Screenshot 2020-09-21 at 6 00 50 PM
Screenshot 2020-09-21 at 6 00 39 PM
Screenshot 2020-09-21 at 6 00 31 PM

@rajayush012 rajayush012 closed this Oct 1, 2020
@rajayush012 rajayush012 reopened this Oct 1, 2020
@rajayush012 rajayush012 closed this Oct 1, 2020
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