Skip to content

Commit

Permalink
script updated for blaenau Gwent
Browse files Browse the repository at this point in the history
  • Loading branch information
dt215git committed Sep 15, 2024
1 parent 4979879 commit ee61c0c
Showing 1 changed file with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class Municipality(TypedDict):
URL = "https://www.itouchvision.com/"
TEST_CASES = {
"chiltern: 100080550517": {"uprn": 100080550517, "municipality": "BUCKINGHAMSHIRE"},
"newport: 100080550517": {"uprn": "10090955364", "municipality": "NEWPORT"},
"newport: 10090955364": {"uprn": "10090955364", "municipality": "NEWPORT"},
"blaenau gwent: 100100457787": {"uprn": "100100457787", "municipality": "BLAENAU GWENT"},
}
COUNTRY = "uk"

Expand All @@ -35,6 +36,8 @@ class Municipality(TypedDict):
"GARDEN WASTE": "mdi:flower",
"HOUSEHOLD WASTE": "mdi:trash-can",
"RECYCLING": "mdi:recycle",
"Recycling collection": "mdi:recycle",
"Refuse Bin": "mdi:trash-can"
}

# Global variables for encryption key and IV
Expand Down Expand Up @@ -81,9 +84,19 @@ def decrypt_aes(ciphertext_hex: str) -> str:
"title": "Newport City Council",
"url": "https://www.newport.gov.uk/",
},
"BLAENAU GWENT": {
"PAYLOAD": {
"P_CLIENT_ID": 106,
"P_COUNCIL_ID": 35,
},
"API_URL": "https://iweb.itouchvision.com/portal/itouchvision/kmbd/collectionDay",
"title": "Blaenau Gwent County Borough Council",
"url": "https://www.blaenau-gwent.gov.uk/",
}

}

MUNICIPALITY_LITERALS = Literal["BUCKINGHAMSHIRE", "NEWPORT"]
MUNICIPALITY_LITERALS = Literal["BUCKINGHAMSHIRE", "NEWPORT", "BLAENAU GWENT"]

EXTRA_INFO = [
{
Expand Down

0 comments on commit ee61c0c

Please sign in to comment.