add get_blackouts url
This commit is contained in:
2
main.py
2
main.py
@@ -18,7 +18,9 @@ to_date = today + timedelta(days=5)
|
|||||||
|
|
||||||
def get_blackouts(bill_id) -> list:
|
def get_blackouts(bill_id) -> list:
|
||||||
url = "https://uiapi2.saapa.ir/api/ebills/PlannedBlackoutsReport"
|
url = "https://uiapi2.saapa.ir/api/ebills/PlannedBlackoutsReport"
|
||||||
|
url = "https://abat-lms.rodad.net/PlannedBlackoutsReport"
|
||||||
headers = {
|
headers = {
|
||||||
|
'accept': 'application/json',
|
||||||
"Authorization": f"Bearer {BARGHEMAN_TOKEN}",
|
"Authorization": f"Bearer {BARGHEMAN_TOKEN}",
|
||||||
}
|
}
|
||||||
payload = {
|
payload = {
|
||||||
|
|||||||
Reference in New Issue
Block a user