Advertisement
Guest User

Untitled

a guest
Oct 21st, 2017
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. import config
  2. import requests
  3. import json
  4.  
  5.  
  6. key = config.key
  7. email = "?email=jennifer.brandel@gmail.com"
  8. base = "https://api.pipl.com/search/v5/{}&no_sponsored=true&key={}".format(email,key)
  9. r = requests.get(base)
  10. j =json.loads(r.text)
  11. with open('piplresult.txt','w') as file:
  12. file.write(str(j))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement