An open API service indexing awesome lists of open source software.

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.

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"
}