Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emanoelcampos/tabnews-keyword-alert
Automated system that fetches, filters, and sends email alerts about keywords in posts titles from Tabnews
https://github.com/emanoelcampos/tabnews-keyword-alert
api automation email-alert keyword-alert python rpa tabnews
Last synced: about 10 hours ago
JSON representation
Automated system that fetches, filters, and sends email alerts about keywords in posts titles from Tabnews
- Host: GitHub
- URL: https://github.com/emanoelcampos/tabnews-keyword-alert
- Owner: emanoelcampos
- Created: 2024-05-07T17:10:13.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-11T09:46:02.000Z (6 months ago)
- Last Synced: 2024-05-11T10:52:17.596Z (6 months ago)
- Topics: api, automation, email-alert, keyword-alert, python, rpa, tabnews
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tabnews Alert
[Tabnews](https://www.tabnews.com.br/) Alert is a Python-based project that automatically fetches data from the Tabnews API, filters posts titles based on specific keywords, and sends an email alert with the posts. The main purpose of this project is to automate the process of monitoring Tabnews for specific content and alerting the user when such content is published.
## Technologies Used
- Python: The main programming language used for this project.
- pip: A package installer for Python, used to manage project dependencies.
- requests: A Python library for making HTTP requests.
- smtplib: A Python library for sending emails using the Simple Mail Transfer Protocol (SMTP).
- dotenv: A Python library for handling environment variables.## Lessons Learned
During the development of this project, I learned how to interact with APIs using the requests library, how to send emails using smtplib, and how to manage environment variables using dotenv. I also gained experience in filtering and processing data in Python.
## How to Use
1. Clone the repository to your local machine.
2. Install the required dependencies using pip: `pip install -r requirements.txt`.
3. Set up your environment variables in a `.env` file. You will need to specify the following variables: `FROM`, `PASSWORD`, and `TO`.
4. Run the main script: `python src/app.py`.