BASE_URI = "https://www.toutsurmoneau.fr" API_ENDPOINT_LOGIN = "/mon-compte-en-ligne/je-me-connecte" ATTRIBUTION = "Data provided by toutsurmoneau.fr" API_ENDPOINT_METERS = "/public-api/cel-consumption/meters-list" API_ENDPOINT_ALERT = "/public-api/contract/tile/alerts" _INFORMATION_ENDPOINT = "/information/donnee/" INFORMATION_ENDPOINT_INTERVENTION = _INFORMATION_ENDPOINT + "intervention/" INFORMATION_ENDPOINT_QUALITY = _INFORMATION_ENDPOINT + "quality/" INFORMATION_ENDPOINT_LIMESTONE = _INFORMATION_ENDPOINT + "limestone/" API_CONSUMPTION_INDEX = "/public-api/contract/tile/consumption" API_ENDPOINT_PRICE = "/public-api/cel-consumption/get-price" API_ENPOINT_TELEMETRY = "/public-api/cel-consumption/telemetry" TOKEN_HEADERS = { "Accept": "application/json, text/javascript, */*; q=0.01", "Content-Type": "application/x-www-form-urlencoded", "Accept-Language": "fr,fr-FR;q=0.8,en;q=0.6", "User-Agent": "curl/7.54.0", "Connection": "keep-alive", "Cookie": "", } LITERS_PER_CUBIC_METER = 1000 MAX_REQUEST_ATTEMPT = 2