You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# KeyAuth-Python-Example
2
-
KeyAuth Python Example For Thehttps://keyauth.ccAuthentication system.
2
+
KeyAuth Python example for thehttps://keyauth.ccauthentication system.
3
3
4
4
## **Bugs**
5
5
@@ -51,7 +51,7 @@ Nutika:
51
51
52
52
## **`KeyAuthApp` instance definition**
53
53
54
-
Visit and select your application, then click on the **Python** tab
54
+
Visit https://keyauth.cc/app/and select your application, then click on the **Python** tab
55
55
56
56
It'll provide you with the code which you should replace with in the `main.py` file.
57
57
@@ -206,7 +206,7 @@ print(data)
206
206
207
207
## **Application Logs**
208
208
209
-
Can be used to log data. Good for anti-debug alerts and maybe error debugging. If you set Discord webhook in the app settings of the Dashboard, it will send log messages to your Discord webhook rather than store them on site. It's recommended that you set Discord webhook, as logs on site may be deleted after a couple months of their creation.
209
+
Can be used to log data. Good for anti-debug alerts and maybe error debugging. If you set Discord webhook in the app settings of the Dashboard, it will send log messages to your Discord webhook rather than store them on site. It's recommended that you set Discord webhook, as logs on site are deleted 1 month after being sent.
210
210
211
211
You can use the log function before login & after login.
212
212
@@ -229,6 +229,9 @@ keyauthapp.ban()
229
229
230
230
Tutorial video https://www.youtube.com/watch?v=ENRaNPPYJbc
231
231
232
+
> **Note**
233
+
> Read documentation for KeyAuth webhooks here https://docs.keyauth.cc/website/dashboard/webhooks
234
+
232
235
Send HTTP requests to URLs securely without leaking the URL in your application. You should definitely use if you want to send requests to SellerAPI from your application, otherwise if you don't use you'll be leaking your seller key to everyone. And then someone can mess up your application.
233
236
234
237
1st example is how to send request with no POST data. just a GET request to the URL. `7kR0UedlVI` is the webhook ID, `https://keyauth.win/api/seller/?sellerkey=sellerkeyhere&type=black` is what you should put as the webhook endpoint on the dashboard. This is the part you don't want users to see. And then you have `&ip=1.1.1.1&hwid=abc` in your program code which will be added to the webhook endpoint on the keyauth server and then the request will be sent.
@@ -250,6 +253,9 @@ data = keyauthapp.webhook("7kR0UedlVI", "", "{\"content\": \"webhook message her
250
253
251
254
## **Download file**
252
255
256
+
> **Note**
257
+
> Read documentation for KeyAuth files here https://docs.keyauth.cc/website/dashboard/files
258
+
253
259
Keep files secure by providing KeyAuth your file download link on the KeyAuth dashboard. Make sure this is a direct download link (as soon as you go to the link, it starts downloading without you clicking anything). The KeyAuth download function provides the bytes, and then you get to decide what to do with those. This example shows how to write it to a file named `text.txt` in the same folder as the program, though you could execute with RunPE or whatever you want.
254
260
255
261
`385624` is the file ID you get from the dashboard after adding file.
0 commit comments