nborrmann / jodel_api

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

Is there any plan to update the keys? #85

Open gaardhus opened 5 years ago

gaardhus commented 5 years ago

I'm getting errors on the keys, and I don't know how to find the updated signing versions. Is there a plan to update the files, or can anybody point me in the direction on how to update them manually?

When I'm running j = jodel_api.JodelAccount(lat=lat, lng=lng, city=city)

I get the following output:

Creating new account.
Traceback (most recent call last):

  File "<ipython-input-77-1a5f3f511db7>", line 1, in <module>
    j = jodel_api.JodelAccount(lat=lat, lng=lng, city=city)

  File "C:\Users\tobia\Anaconda3\lib\site-packages\jodel_api\jodel_api.py", line 56, in __init__
    r = self.refresh_all_tokens(**kwargs)

  File "C:\Users\tobia\Anaconda3\lib\site-packages\jodel_api\jodel_api.py", line 136, in refresh_all_tokens
    raise Exception(resp)

Exception: (477, {'error': 'Signed request expected', 'metadata': None})
datagutten commented 5 years ago

I was able to extract a key, but the API would not accept it.

guitar9 commented 5 years ago

I think this project is outdated :D Somebody has another solution to get Jodel Posts programmatically?

gaardhus commented 5 years ago

@guitar9 yeah you are probably right. If you stumble upon a useful method please update me :).

marbink commented 5 years ago

if you are able to get the key from ios & update version, my fork would work ;)