- 📖 About the Project
- 👀 Overview
- 🛠 Built With
- 🔥 Tech Stack
- 🔑 Key Features
- 💻 Getting Started
- 📜 Prerequisites
- ⚙️ Setup
▶️ Run Application- 🕹️ Usage
- 👥 Author
This service is a backend microservice integrated into a Django application, designed to notify error messages via Skype. It provides a mechanism to send error messages directly to a Skype chat from your backend when specific conditions or exceptions occur.
- The service provides a method (
notifyerrormessage
) to send error messages from your Django application to a specified Skype chat. - It handles incoming POST requests, processes the error data, and sends the details as a message to a configured Skype account.
- Python
- Django
- Requests
- JSON
- Django
- Skype API
- Sends error notifications directly to Skype.
- Handles both encoded and plain JSON data in POST requests.
- Uses SQL queries to fetch user details for personalized error reporting.
To use this service, you will need:
- Python 3.x
- Django
- Skype account credentials
- Required Python libraries:
requests
,json
,Skype API
(if using Skype integration).
-
Clone the repository:
git clone https://github.com/your-repo/skype-error-notification-service.git
-
Navigate to the project directory:
cd skype-error-notification-service
-
Install the required dependencies:
pip install -r requirements.txt
-
Update Configuration:
- Replace
'yourskypeemail'
and'yourskypepassword'
with your actual Skype email and password. - Update the
urls.BASE_URL
inmain/constants.py
with your application's base URL.
- Replace
- Run the Django development server:
python manage.py runserver
- The
notifyerrormessage
method accepts a POST request with error details in JSON format. - To trigger the error notification, send a POST request to the endpoint with the necessary payload.
- The method will process the request and send the error message to the configured Skype chat.
- 👥 Author
- Vedant Vartak
- Email ✉️: vedantvartakworkk@gmail.com
- Country 🌍: India 🇮🇳
- Vedant Vartak
Example Request:
{
"email": "user@example.com"
}