Quick Start
Let's get started with Bigisub API
Getting Started
Get started by Getting Your Authentication Token From
Step 1: Create An Account
Visit Bigisub to create an account
Step 2: Sign In
Visit Bigisub to sign in
Step 3: Generate Your Token
import requests
import json
payload = {
"username": "ay",
"password": "ayo"
}
data = json.dumps(payload)
Send a request with the payload
url = "https://bigisub.ng/api/v1/get_token/"
res = requests.get(url, data=data)
Response
{
"token": "56227c7416dc680edd2fdc25b8c1e6fdb570c806", # Your token
"user_id": 10,
"email": "ayobab@gmail.com"
}
Congratulations! 🎈🎈🎈
Now You can use your authentication token for the authorization header for all your api requests.
user_token = 'eacf1ab727d134b254361d834c28a2bf6ab0a111'
headers = {
"Content-Type": "application/json",
"Authorization": f'Token {user_token}'
}