Coder Social home page Coder Social logo

diazzaid / whatsapp-api-venom Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devlikeapro/whatsapp-http-api

35.0 1.0 17.0 4.25 MB

simple WhatsApp api with library venom

Home Page: https://github.com/diazzaid/whatsapp-venom-api

License: Apache License 2.0

JavaScript 4.19% TypeScript 95.81%
whatsapp-web whatsapp-api venom-bot wppconnect whatsapp-web-js whatsapp-web-api

whatsapp-api-venom's Introduction

WhatsApp API Free

WhatsApp venom API that you can configure in a click! It's really Free! :)

The project is an HTTP wrapper around https://github.com/orkestral/venom, so we can also support these methods:

Automatic QR Refresh
Send text, image, video, audio and docs
Get contacts, chats, groups, group members, Block List
Send contacts
Send stickers
Send stickers GIF
insert user section
📍 Send location!!
🕸🕸 and much more

Installation

untuk windows os

rubah pada bagian /src/config.service.ts bari ke 33 dari '/tmp/whatsapp-files', menjadi 'D:/api-wa/whatsapp-api-venom/tokens/whatsapp-files', sesuaikan dengan direktori masing-masing

  1. git clone https://github.com/diazzaid/whatsapp-api-venom.git
  2. cd whatsapp-api-venom
  3. npm i
  4. npm start
  5. scan qrcode via terminal image
  6. session Connected image

Run WhatsApp venom API:

After that open in a browser the link and you'll see Swagger (OpenApi) API specification for WhatsApp venom API http://localhost:3000/#/

Send a text message

Let's try to send a message:

  1. via curl

curl --location --request POST 'http://localhost:3000/api/send-message'
--header 'Content-Type: application/json'
--data-raw '{ "number": "6281224993382", "message": "api testing" }'

  1. swagger open browser http://localhost:3000/ image

Get a screenshot

Go to the "screenshot" section and get a screenshot http://localhost:3000/#/screenshot image

thanks to

venom https://github.com/orkestral/venom.

allburov https://github.com/allburov/whatsapp-http-api

whatsapp-api-venom's People

Contributors

allburov avatar diazzaid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.