__zero__

api example usage in python

Aug 7th, 2019
14,894
3
Never
12
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.97 KB | None | 3 0
  1. import requests # see https://2.python-requests.org/en/master/
  2.  
  3. key = 'your_dev_key_here'
  4. text = "a text"
  5. t_title = "a_paste_title"
  6.  
  7. login_data = {
  8.     'api_dev_key': key,
  9.     'api_user_name': 'your_acc_username',
  10.     'api_user_password': 'your_acc_password'
  11.     }
  12. data = {
  13.     'api_option': 'paste',
  14.     'api_dev_key':key,
  15.     'api_paste_code':text",
  16.    'api_paste_name':t_title,
  17.    'api_paste_expire_date': 'see_https://pastebin.com/api',
  18.    'api_user_key': None,
  19.    'api_paste_format': 'see_https://pastebin.com/api'
  20.    }
  21.  
  22. login = requests.post("https://pastebin.com/api/api_login.php", data=login_data)
  23. print("Login status: ", login.status_code if login.status_code != 200 else "OK/200")
  24. print("User token: ", login.text)
  25. data['api_user_key'] = login.text
  26.  
  27. r = requests.post("https://pastebin.com/api/api_post.php", data=data)
  28. print("Paste send: ", r.status_code if r.status_code != 200 else "OK/200")
  29. print("Paste URL: ", r.text)
  30.  
  31.  
  32.  
  33.  
  34. #sent from python 3.7
Advertisement
Comments
  • cascadious
    1 year
    # text 0.01 KB | 0 0
    1. cool beans
  • User was banned
  • Artkek
    176 days
    # CSS 0.78 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://rawtext.host/raw?44lh4m
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 38% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without any verification from Swapzone — instant swap).
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment