Generate listenKey

Hey guys, I’m trying to generate my listenKey using the following example but I’m getting no result so far. binance-futures-connector-python/ at main · binance/binance-futures-connector-python · GitHub

I changed the following:
line 20: adding my api key & the base url= “
line 27: stream_url=“wss://”

My IDE returns Process finished with exit code 0

Thanks in advance for the help.

Add your API key on line 16 and stream_url goes on line 22 in the brackets. However try not adding a stream_url since it’s that URL by default. So just try adding your API key with the correct permissions to line 16 and then running the script.