Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

CallApp Unofficial API

Asynchronous Python client for the unofficial CallApp API. Allows you to search phone number information.

Features

Asynchronous requests (async/await) Automatic phone number normalization HTTP error and timeout handling Connection pooling support

Installation

pip install aiohttp

Usage

import asyncio from callapp_client import CallAppClient

async def main(): client = CallAppClient( my_phone="+79991234567", # your phone number token="YOUR_TOKEN", # CallApp token cvc="YOUR_CVC", # CVC key )

result = await client.search("+79998887766")

if result["ok"]:
    print("Status:", result["status"])
    print("Data:", result["data"])
else:
    print("Error:", result)

if name == "main": asyncio.run(main())

Example Response

Success

image

Error

{ "ok": false, "error": "timeout" }

or

{ "ok": false, "status": 403, "error": "http_error" }

Parameters

Argument Type Description my_phone str Your phone number token str CallApp token cvc str CallApp CVC key timeout int Request timeout (default: 5 sec) max_connections int Max simultaneous connections

Disclaimer

⚠️ This is an unofficial API. For educational purposes only. Not affiliated with CallApp

About

Unofficial CallApp Parsing

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages