TakionAPI
Start a TrialJoin our DiscordBuy a PlanDashboard
  • Takion API
  • Interacting with our APIs
  • Datadome
    • Bypass Solution
    • Example Implementations
    • Common Errors & Troubleshooting
  • Incapsula / Imperva
    • reese84 Bypass Solution
    • ___utmvc Bypass Solution
    • Example Implementations
    • Common Errors & Troubleshooting
  • Perimeter X Mobile
    • Bypass Solution
    • Example Implementations
  • GeeTest
    • v3 Bypass Solution
    • v4 Bypass Solution
    • Example Implementations
  • AWS Cognito
    • Bypass Solution
    • Example Implementations
  • Castle
    • Bypass Solution
    • Example Implementations
  • NuData
    • Bypass Solution
    • Example Implementations
  • Image-to-Text Captchas / OCR
    • Bypass Solution
    • Example Implementations
  • Frameworks & Modules
    • Adyen and riskData
    • Queue-IT Module
Powered by GitBook
On this page

Was this helpful?

  1. Perimeter X Mobile

Example Implementations

import requests

API_KEY = "TAKION_API_XXXX"  # YOUR API KEY

url = "https://px-mobile.takionapi.tech/generate"

querystring = {"api_key": API_KEY}

payload = {
    "package_name": "com.enflick.android.TextNow",
    "manufacturer": "samsung",
    "continent": "america"
}
headers = {
    "Content-Type": "application/json"
}

response = requests.request(
    "POST", url, json=payload, headers=headers, params=querystring)

print(response.text)
import requests

API_KEY = "TAKION_API_XXXX"

url = "https://api.bbw.com/payments/v2/giftcard"

payload = {
    "lbCustomerID": "abyQtuW2FurvCkyKA3h2cLxUMh",
    "email": "xxx@gmail.com",
    "brand": "BBW",
}


def send_request_without_headers():
    headers = {
        "accept-language": "it-IT,it;q=0.9",
        "accept-charset": "UTF-8",
        "accept": "*/*",
        "content-type": "application/json",
    }
    response = requests.post(
        url,
        json=payload,
        headers=headers
    )
    print(
        f"Response without headers: {response.status_code} / {response.text}")


def send_request_with_headers():
    px_headers = requests.post(
        "https://px-mobile.takionapi.tech/generate",
        json={"package_name": "com.bathandbody.bbw", "manufacturer": "samsung"},
        params={"api_key": API_KEY}
    ).json()
    headers = {
        "accept-language": "it-IT,it;q=0.9",
        "accept-charset": "UTF-8",
        "accept": "*/*",
        "content-type": "application/json",
    } | px_headers
    print(px_headers)
    exit(0)
    response = requests.post(
        url,
        json=payload,
        headers=headers
    )
    print(f"Response with headers: {response.status_code} / {response.text}")


if __name__ == "__main__":
    send_request_without_headers()
    print(" -------------------- ")
    send_request_with_headers()
PreviousBypass SolutionNextGeeTest

Last updated 8 months ago

Was this helpful?