signalstickers / signalstickers-client

⚙️🐍 A Python client for the Signal stickers API
https://pypi.org/project/signalstickers-client/
GNU Lesser General Public License v3.0
54 stars 9 forks source link

Unable to start the client with my signal credentials #20

Closed DenialOfIntelligence closed 1 year ago

DenialOfIntelligence commented 1 year ago

As stated in the title, I am having a problem using the example code. I have added my username and password from the instructions in the README. When running the code, I get KeyError: 'my username'.

romainricard commented 1 year ago

The example code gets the credentials from env vars SIGNAL_USERNAME and SIGNAL_PASSWORD. You can use something like this to run the example script:

 SIGNAL_USERNAME='yourusername' SIGNAL_PASSWORD='yourpassword' python3 upload_stickers.py

Not sure how you get KeyError: 'my username'. tho.