{"id":19673749,"url":"https://github.com/nealwaga/news-api","last_synced_at":"2026-05-08T03:05:26.477Z","repository":{"id":106847544,"uuid":"487280401","full_name":"nealwaga/News-API","owner":"nealwaga","description":"This is a web application that displays a list of various news sources. On choosing a news source, it will preview the top news articles of the day. Clicking a news article will redirect the user to read it fully from the news source.","archived":false,"fork":false,"pushed_at":"2022-05-09T05:28:42.000Z","size":12963,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T04:12:10.041Z","etag":null,"topics":["flask","python"],"latest_commit_sha":null,"homepage":"http://44.200.116.238:6010/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nealwaga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-30T13:09:51.000Z","updated_at":"2022-05-12T22:56:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"d52cac5f-18e5-4239-8b1c-147983fb03ec","html_url":"https://github.com/nealwaga/News-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nealwaga%2FNews-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nealwaga%2FNews-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nealwaga%2FNews-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nealwaga%2FNews-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nealwaga","download_url":"https://codeload.github.com/nealwaga/News-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240982769,"owners_count":19888571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","python"],"created_at":"2024-11-11T17:16:14.989Z","updated_at":"2026-05-08T03:05:26.426Z","avatar_url":"https://github.com/nealwaga.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# News-API\n***\n**Description**\n---\nThis is a web application that displays a list of various news sources. On choosing a news source, it will preview the top news articles of the day. Clicking a news article will redirect the user to read it fully from the news source.\n***\n**User Stories**\n---\nThese are the behaviours/features that the application implements for use by a user.\nAs a user I would like to:\n* See various news sources.\n* Select the ones they prefer.\n* See the top news articles from that news source.\n* See the image, description and time the news article was created.\n* Click on an article and read it fully from the news source.\n***\n**Set-Up / Installation Requirements**\n---\n### Cloning\n* In your terminal:\n  `$ git clone https://github.com/nealwaga/News-API`\n  `$ cd News-API`\n\n---\n### Running the Application\n* Creating the virtual environment:\n  `$ virtualenv virtual`\n  `$ source virtual/bin/activate`\n  `$ curl https://bootstrap.pypa.io/get-pip.py | python`\n\n* Intsalling Flask and other Modules:\n  `$ python3.6 -m pip install Flask`\n  `$ python3.6 -m pip install Flask-Bootstrap`\n  `$ python3.6 -m pip install Flask-Script`\n\n* Setting up the API key:\n  To be able to gather article info from the News API you will need an API Key.\n\n  * Visit https://newsapi.org/ and register for an API key.\n  * In the root directory of the project folder create a file: start.sh\n  * Insert the following info into it:\n\n          export NEWS_API_KEY='\u003cYour-Api-Key\u003e'\n          python3 manage.py server\n\n  * Insert the API Key you received from News Api where \u003cYour-Api-Key\u003e is.\n\n* To run the application, in the terminal:\n  `$ chmod +x start.sh`\n  `$ ./start.sh`\n\n---\n**Technologies Used**\n---\n  * Python 3.8\n  * Flask\n  * HTML\n  * CSS\n\n---\n**License**\n---\nThis software is licensed under the MIT license. Copyright (c) 2022 Neal Waga","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnealwaga%2Fnews-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnealwaga%2Fnews-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnealwaga%2Fnews-api/lists"}