1.8.5 • Published 6 months ago

get-contact.js v1.8.5

Weekly downloads
-
License
GPL-3.0 license
Repository
github
Last release
6 months ago

This api unofficial from GetContact

npm

get-contact.js

A GetContact API gclient that connects through the GetContact Web browser app

It uses Puppeteer to run a real instance of GetContact Web to avoid getting blocked.

NOTE: I can't guarantee you will not be blocked by using this method, although it has worked for me. GetContact does not allow bots or unofficial clients on their platform, so this shouldn't be considered totally safe.

Quick Links

Installation

The module is now available on npm! npm i get-contact.js

Please note that Node v12+ is required.

Example usage

const { GClient } = require("get-contact.js");

const gclient = new GClient();

gclient.on("qr", (qr) => {
  // Generate and scan this code with your phone
  console.log("QR RECEIVED", qr);
});

gclient.on("ready", () => {
  console.log("Client is ready!");
});

gclient.initialize();

Take a look at example.js for another example with more use cases.

Reference

https://github.com/pedroslopez/whatsapp-web.js

1.8.5

6 months ago

1.8.4

8 months ago

1.8.3

8 months ago

1.8.2

8 months ago

1.8.1

8 months ago

1.8.0

8 months ago

1.7.0

8 months ago

1.6.0

8 months ago

1.5.0

8 months ago

1.4.0

8 months ago

1.3.0

8 months ago

1.2.0

8 months ago

1.1.0

8 months ago

1.0.0

8 months ago