nborrmann / jodel_api

Unoffical Python Interface to the Jodel API
MIT License
150 stars 33 forks source link

Jodel API seems to stop working: self.refresh_all_tokens(**kwargs) #43

Closed Daedra223 closed 7 years ago

Daedra223 commented 7 years ago

Issue

Since yesterday 18.08.17 the Jodel API seems to stop working:

This are the meta data from the JodelAccount class:

class JodelAccount:
    post_colors = ['9EC41C', 'FF9908', 'DD5F5F', '8ABDB0', '06A3CB', 'FFBA00']
    api_url = "https://api.go-tellm.com/api{}"
    client_id = '81e8a76e-1e02-4d17-9ba0-8a7020261b26'
    secret = 'SUJlYgihNxTmcfdrEcjROozfNemiqJSjYpoJJMUC'.encode('ascii')
    version='4.55.1'
    secret_legacy = 'hyTBJcvtpDLSgGUWjybbYUNKSSoVvMcfdjtjiQvf'.encode('ascii')
    version_legacy = '4.47.0'

I got following output when trying to create an account:

Creating new account. Traceback (most recent call last): File "C:/Users/Waldemar/Desktop/JodelAPI-master/pythonProject/src/script.py", line 218, in j = jodel_api.JodelAccount(lat=51.050409, lng=13.737262, city="Dresden") File "C:\Users\Waldemar\Desktop\JodelAPI-master\pythonProject\src\jodel_api\jodel_api.py", line 63, in init r = self.refresh_all_tokens(**kwargs) File "C:\Users\Waldemar\Desktop\JodelAPI-master\pythonProject\src\jodel_api\jodel_api.py", line 144, in refresh_all_tokens raise Exception(resp) Exception: (477, {'error': 'Signed request expected', 'metadata': None})

Do you have any idea what changed ?

Environment

$ python -V Python 3.6.2 $ python -c "import jodel_api; print(jodel_api.JodelAccount.version); print(jodel_api.JodelAccount.secret)" 4.49.0 b'GnAXvETHFDbDfhngjDYEkszdqZowDpWsWuCectMJ'