https://github.com/abdulrehman043/whatsapp_business_name
This is an API which provides the business name of a whatsapp number built in python and flask.
https://github.com/abdulrehman043/whatsapp_business_name
api beautifulsoup4 flask html5 lxml python python3 requests restapi
Last synced: about 2 months ago
JSON representation
This is an API which provides the business name of a whatsapp number built in python and flask.
- Host: GitHub
- URL: https://github.com/abdulrehman043/whatsapp_business_name
- Owner: abdulrehman043
- Created: 2023-11-08T18:58:48.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-10T08:41:43.000Z (almost 2 years ago)
- Last Synced: 2025-07-17T02:30:21.764Z (3 months ago)
- Topics: api, beautifulsoup4, flask, html5, lxml, python, python3, requests, restapi
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WhatsApp Business Name API
## Overview
The WhatsApp Business Name API is a Python-based web application that extracts and provides the business name associated with a WhatsApp number. Built using Flask, this API offers a straightforward and efficient way to obtain business information from WhatsApp contacts.
## Features
- Extracts the business name linked to a WhatsApp number.
- Utilizes Flask for a lightweight and scalable web framework.
- Easy-to-use API with a single endpoint for retrieving business names.
- Can be integrated into various applications and services.## Getting Started
These instructions will help you set up the WhatsApp Business Name API on your local machine for development and testing purposes.
### Prerequisites
- Python (3.6 or higher)
- Flask
- BeautifulSoup (for web scraping)### Installation
1. Clone this repository to your local machine:
```bash
git clone https://github.com/abdulrehman043/whatsapp_business_name.git
cd whatsapp_business_name
2. Install Required dependencies
```bash
pip install -r requirements.txt
3. Run the Flask application:
```bash
flask run
4. Access API
http://localhost:5000/whatsapp_business
In post request give :
```
Input :
{
"number": "919891XXXX61"
}
Response :
{
"result" : "Abdul Rehman"
}