Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andre-ols/whatsapp_api_nodejs
NodeJS API Wrapper for WhatsApp
https://github.com/andre-ols/whatsapp_api_nodejs
bot nodejs nodejs-bot nodejs-wrapper whatsapp whatsapp-api whatsapp-bot whatsapp-chat whatsapp-web wrapper wrapper-api
Last synced: 4 months ago
JSON representation
NodeJS API Wrapper for WhatsApp
- Host: GitHub
- URL: https://github.com/andre-ols/whatsapp_api_nodejs
- Owner: andre-ols
- License: mit
- Created: 2022-04-01T19:45:45.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-09T19:18:46.000Z (almost 3 years ago)
- Last Synced: 2024-10-01T00:24:26.857Z (5 months ago)
- Topics: bot, nodejs, nodejs-bot, nodejs-wrapper, whatsapp, whatsapp-api, whatsapp-bot, whatsapp-chat, whatsapp-web, wrapper, wrapper-api
- Language: JavaScript
- Homepage:
- Size: 37.1 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README



# Whatsapp API Nodejs
It is an unofficial Whatsapp API, which performs web scraping using puppeteer through the whatsapp-web.js library to automate whatsapp, making its resources available through a RESTful API.
π§ Whatsapp API Nodejs under construction... π§### Supported features
| Feature | Status |
| ------------- | ------------- |
| Multi Device | β |
| Send messages | β |
| Send media (images/audio/documents) | β |
| Send contact cards | β |
| Send location | β |
| Send buttons | β³ |
| Send lists | β³ (business accounts not supported) |
| Send messages in group | β |
| Send media (images/audio/documents) in group | β |
| Send contact cards in group | β |
| Send location in group | β |
| Get contact info | β |
| Get profile pictures | β |### How to Install
Before starting, you will need to have the following tools installed on your machine:
[Git](https://git-scm.com), [Node.js](https://nodejs.org/en/), [Yarn](https://yarnpkg.com/).
Besides, it's good to have an editor to work with the code like [VSCode](https://code.visualstudio.com/)### π² Running the API
```bash
# Clone this repository
$ git clone https://github.com/andre-ols/whatsapp_api_nodejs.git# access the project folder in the terminal/cmd
$ cd whatsapp_api_nodejs# Install the dependencies and start the server:
$ yarn install
$ yarn start# or
$ npm install
$ npm start# Server Running Live on Port: 3000 - access
```### How to use the API π
- Access the API through the browser: to get QR code to scan.
- After scanning the QR code, refresh the page to scan second QR code.
- Done! β You can now access the API Docs through
### π Technologies Used
The following tools were used in building the project:
- [Node.js](https://nodejs.org/en/)
- [Yarn](https://yarnpkg.com/)
- [Express](https://expressjs.com/)
- [Whatsapp-web.js](https://github.com/pedroslopez/whatsapp-web.js)
- [qrcode](https://www.npmjs.com/package/qrcode)### Author
---[](https://www.linkedin.com/in/andr%C3%A9-oliveira-silva-3496a2106/)
[](mailto:[email protected])## License
This project is under the license [MIT](./LICENSE).
Made with β€οΈ by AndrΓ© Oliveira!