daily pastebin goal
73%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import requests
  2. import json
  3. import gspread
  4. import secrets
  5. import random
  6.  
  7. global accountData
  8.  
  9. accountData = ["", "", "", ""]
  10.  
  11. def fakeInfo():
  12.     fakeInfo = requests.get("https://randomuser.me/api/?gender=male").json()
  13.     accountData[1] = fakeInfo["results"][0]["name"]["first"]
  14.     accountData[2] = fakeInfo["results"][0]["name"]["last"]
  15.     dob = (fakeInfo["results"][0]["dob"])[:10]
  16.    
  17.     return
  18.  
  19. def disposableEmail():
  20.     availableEmails = requests.get("https://api.temp-mail.ru/request/domains/format/json/").json()
  21.     randomEmail = random.randint(0, len(availableEmails))
  22.     accountData[0] = secrets.token_hex(5) + availableEmails[randomEmail - 1]
  23.     return
  24.  
  25. fakeInfo()
  26. disposableEmail()
  27.  
  28. print(accountData)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top