def generateQr(id): print("Generating QR code") data = "grindrwebchat_" + id terminalqr.drawqr(data) print( "url: https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=grindrwebchat_" + id)
import terminalqr terminalqr.drawqr("Example")
#testing all functions #some of the tests require user intervention import api import terminalqr terminalqr.drawqr("Test") web = api.fetchWebClientId() authtoken = str(api.fullLogin()) api.fetchProfiles(authtoken, 40.785091, -73.968285) api.fetchSettings(authtoken) api.getProfileId(authtoken) api.generatePlainAuth(authtoken) token = [authtoken, web] def onmessage(message, id, _type): pass socket = api.messageSocket(authtoken, onmessage)