-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add Fault Portal API endpoints #109
Conversation
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Description updated to latest commit (542d9ed)
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Review 🔍
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
User description
What changes do you are proposing?
Add Fault Portal API endpoints
https://masa-mainportalapi.iec.co.il/api
How did you test these changes?
Closing issues
PR Type
Enhancement
Description
iec_api/const.py
.iec_api/fault_portal_data.py
to fetch user profiles and outages from the Fault Portal API.iec_api/fault_portal_models/outages.py
andiec_api/fault_portal_models/user_profile.py
.iec_api/iec_client.py
, providing methods to fetch user profiles and outages.Changes walkthrough 📝
const.py
Add Fault Portal API URL Constants
iec_api/const.py
fault_portal_data.py
Implement Fault Portal API Data Fetching Functions
iec_api/fault_portal_data.py
API.
outages.py
Define Outage Models for Fault Portal API
iec_api/fault_portal_models/outages.py
user_profile.py
Define User Profile Models for Fault Portal API
iec_api/fault_portal_models/user_profile.py
iec_client.py
Integrate Fault Portal API Endpoints into IEC Client
iec_api/iec_client.py