Skip to content

Commit

Permalink
Added an open_honeypot example
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-amogh committed Mar 10, 2022
1 parent 3bf9e8e commit a4704f9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions examples/open_honeypot.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from pyHoneygain import HoneyGain

LONG_SECURE_JWT_TOKEN = "eyeiufhuegjdvniu85yhjdfseu487y5urhjdfkseiwu89347yrjfdskiu8y4rjk"

user = HoneyGain()

user.set_jwt_token(LONG_SECURE_JWT_TOKEN)

print(user)

result = user.open_honeypot()

print("Worked:", result["success"])
print("Credits info:", result["credits"])

0 comments on commit a4704f9

Please sign in to comment.