Skip to content

Commit 19f740f

Browse files
committed
💡 Explain password encryption issue
1 parent 9898e24 commit 19f740f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

comwatt/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ def __init__(self):
66
self.base_url = 'https://energy.comwatt.com/api'
77
self.session = requests.Session()
88

9+
# Password should be encrypted password, I don't know exactly what the encryption is for the moment,
10+
# so you will need to encrypt it from their webapp
911
def authenticate(self, username, password):
1012
url = f'{self.base_url}/v1/authent'
1113
headers = {

0 commit comments

Comments
 (0)