{"id":22539875,"url":"https://github.com/machariamark/newsapi","last_synced_at":"2025-03-28T07:15:12.585Z","repository":{"id":121561711,"uuid":"405037600","full_name":"MachariaMark/newsapi","owner":"MachariaMark","description":"An application that will keep you up to date with news articles from various sources all over the globe.","archived":false,"fork":false,"pushed_at":"2021-09-10T15:07:52.000Z","size":5889,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T08:11:19.845Z","etag":null,"topics":["python"],"latest_commit_sha":null,"homepage":"https://ty-news.herokuapp.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MachariaMark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-09-10T10:09:39.000Z","updated_at":"2021-09-10T15:10:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ae3a2ce-f5a8-4e3a-a6b1-a9d421ba5ce1","html_url":"https://github.com/MachariaMark/newsapi","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/MachariaMark%2Fnewsapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MachariaMark%2Fnewsapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MachariaMark%2Fnewsapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MachariaMark%2Fnewsapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MachariaMark","download_url":"https://codeload.github.com/MachariaMark/newsapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245984589,"owners_count":20704798,"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":["python"],"created_at":"2024-12-07T12:08:47.848Z","updated_at":"2025-03-28T07:15:12.579Z","avatar_url":"https://github.com/MachariaMark.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## NEWSAPI \u003cdiv dir=\"rtl\"\u003e10.09.2021\u003c/div\u003e\n#### \u003cdiv dir=\"rtl\"\u003eBy **Mark Muchiri Macharia**\u003c/div\u003e\n## Description\nThis is an application that will help list and preview news articles from various sources.\n## Deployed website \nThis app is live @  \n## How it works \nAs a user can ;\n* see various news sources on the homepage of the application.\n\n*  select a news source and see all news articles from the selected news source in the application.\n\n* see the image, description and the time a news article was created.\n\n* click on an article and read the full article on the source website.\n\n## Behavior driven devlopment (BDD)\n\n| Intention        | Action               | Behaviour                                         |\n| ---------------- |:--------------------:| -------------------------------------------------:|\n| sources          |displays news sources | user is able to see news sources on the homepage  |\n| click link       |navigates to article  | allows user to access the article                 |\n\n## Installation\n\nInstallation for the package can be done via `pip`:\n\n```bash\n$ python -m pip install newsapi-python\n```\n\n## Usage\n\nAfter installation, import the client class into your project:\n\n```python\nfrom newsapi import NewsApiClient\n```\n\nInitialize the client with your API key:\n\n```python\napi = NewsApiClient(api_key='XXXXXXXXXXXXXXXXXXXXXXX')\n```\n\n## Setup\n* Clone this repo to your desktop\n* run this in your terminal \"git remove set-url\" if you wish to have it into your repository\n* create a directory for this project\n* run \"sudo add-apt-repository ppa:jonathonf/python-3.6\" in your terminal to install python followed by \"sudo apt-get update\" , then \"sudo apt-get install python3.6 \".\n* install pip which is the flask package manager..\n* run \"pip install flask to install flask.\n* run \"atom .\" or \"code .\" in you terminal depending on the text editor you wish to use.\n\n## Known Bugs\nNo known bugs.\n\n## Technologies Used\n* Bootstrap \n* Flask framework that is a Python microframework.\n* javascript\n* awesome \u0026 google fonts\n\n## Support and contact details\nFor feedback contact me through;\n* mark.macharia@student.moringaschool.com\n* 0759329269\n\n[![License](https://img.shields.io/github/license/mattlisiv/newsapi-python.svg)](https://github.com/mattlisiv/newsapi-python/blob/master/LICENSE.txt)\n[![PyPI](https://img.shields.io/pypi/v/newsapi-python.svg)](https://pypi.org/project/newsapi-python/)\n[![Status](https://img.shields.io/pypi/status/newsapi-python.svg)](https://pypi.org/project/newsapi-python/)\n[![Python](https://img.shields.io/pypi/pyversions/newsapi-python.svg)](https://pypi.org/project/newsapi-python)\n\n### License\n[MITlicense](LICENSE) 2021 **MARK MUCHIRI MACHARIA**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmachariamark%2Fnewsapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmachariamark%2Fnewsapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmachariamark%2Fnewsapi/lists"}