Skip to content

Instantly share code, notes, and snippets.

View itssomething's full-sized avatar
🎶
BLACK PINK IN YOUR AREA

Manh itssomething

🎶
BLACK PINK IN YOUR AREA
  • Hanoi, Vietnam
View GitHub Profile
@itssomething
itssomething / expa_auth.py
Created February 7, 2018 12:44 — forked from felipeandres254/expa_auth.py
Python 2.7 code snippet to get AIESEC EXPA Token
#!/usr/bin/env python
import re, requests
def GET_TOKEN( email=None, password=None ):
if email and password:
AUTH = {
"user[email]":email,
"user[password]":password
}
r = requests.post("https://auth.aiesec.org/users/sign_in", data=AUTH, verify=False)