Login
Use your web or mobile login credentials
-
username
: Your usernamestring
-
password
: Your passwordstring
import requests
import json
payload = {
"username": "ay",
"password": "ayo"
}
data = json.dumps(payload)
Send a post request with the payload
url = "https://bigisub.ng/api/v1/get_token/"
res = requests.post(url, data=data)
Response
{
"token": "56227c7416dc680edd2fdc25b8c1e6fdb570c806", # Your token
"user_id": 10,
"email": "ayobab@gmail.com"
}
View code in other programming languages here