{"id":23088070,"url":"https://github.com/orengrinker/slacknewsapi","last_synced_at":"2026-04-30T00:03:01.562Z","repository":{"id":225534267,"uuid":"766231316","full_name":"OrenGrinker/SlackNewsAPI","owner":"OrenGrinker","description":"SlackNewsBot is a Python application that automatically fetches and posts the latest Israeli news headlines to your Slack channel, keeping your team informed and engaged directly within your workspace.","archived":false,"fork":false,"pushed_at":"2024-03-02T17:52:54.000Z","size":1646,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T16:52:12.145Z","etag":null,"topics":["news","newsapi","python","slack","slack-api"],"latest_commit_sha":null,"homepage":"","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/OrenGrinker.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}},"created_at":"2024-03-02T17:36:11.000Z","updated_at":"2024-03-02T17:43:24.000Z","dependencies_parsed_at":"2024-03-02T18:49:24.564Z","dependency_job_id":null,"html_url":"https://github.com/OrenGrinker/SlackNewsAPI","commit_stats":null,"previous_names":["orengrinker/slacknewsapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OrenGrinker/SlackNewsAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrenGrinker%2FSlackNewsAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrenGrinker%2FSlackNewsAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrenGrinker%2FSlackNewsAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrenGrinker%2FSlackNewsAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OrenGrinker","download_url":"https://codeload.github.com/OrenGrinker/SlackNewsAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrenGrinker%2FSlackNewsAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32448883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["news","newsapi","python","slack","slack-api"],"created_at":"2024-12-16T20:15:55.381Z","updated_at":"2026-04-30T00:03:01.517Z","avatar_url":"https://github.com/OrenGrinker.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SlackNewsBot\n\nSlackNewsBot is a Python script that fetches the top news headlines from Israel using NewsAPI and posts them to a specified Slack channel.\n\n## Setting Up\n\n### Prerequisites\n- Python 3.x\n- `requests` library\n- `slack_sdk` library\n\n### Installation\n\n1. Clone this repository or download the files.\n2. Install the required Python libraries:\n\npip install -r requirements.txt\n\n\n### Configuring Slack\n\n1. Create a new Slack app at [Slack API](https://api.slack.com/apps).\n2. Add permissions to the app: `chat:write`.\n3. Install the app to your workspace and note the OAuth token (begins with `xoxb-`).\n4. Find the ID of the Slack channel where you want to post the news.\n\n### Configuring NewsAPI\n\n1. Sign up at [NewsAPI](https://newsapi.org/register) and get your API key.\n\n#### Setting Up the Application\n\n1. Navigate to the `config.py` file.\n2. Replace `YOUR_NEWSAPI_KEY`, `YOUR_SLACK_BOT_TOKEN`, and `YOUR_SLACK_CHANNEL_ID` with your actual NewsAPI key, Slack bot token, and Slack channel ID, respectively.\n\n## Running the Application\n\nTo run the application, execute the following command in the terminal:\n\npython main.py\n\n\nThe script will fetch the latest news from Israel and post it to the specified Slack channel.\n\n## Screenshot\n\n![SlackNewsBot Screenshot](https://github.com/OrenGrinker/SlackNewsAPI/blob/636ff9336802a598e95b44c8736c2a6a3487fbe0/Screenshot%202024-03-02%20at%2019.31.08.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forengrinker%2Fslacknewsapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forengrinker%2Fslacknewsapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forengrinker%2Fslacknewsapi/lists"}