All Projects → ben221199 → WAPI

ben221199 / WAPI

Licence: GPL-3.0 License
The WhatsApp API

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to WAPI

Quickblox Javascript Sdk
JavaScript SDK of QuickBlox cloud backend platform
Stars: ✭ 98 (+172.22%)
Mutual labels:  xmpp, whatsapp
Matterbridge
bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Stars: ✭ 4,452 (+12266.67%)
Mutual labels:  xmpp, whatsapp
Q Municate Ios
Q-municate iOS repository
Stars: ✭ 164 (+355.56%)
Mutual labels:  xmpp, whatsapp
Chat
Instant messaging platform. Backend in Go. Clients: Swift iOS, Java Android, JS webapp, scriptable command line; chatbots
Stars: ✭ 8,238 (+22783.33%)
Mutual labels:  xmpp, whatsapp
q-municate-web
Q-municate Web chat application
Stars: ✭ 66 (+83.33%)
Mutual labels:  xmpp, whatsapp
jenkins-pipeline-gitflow-maven
Sample Maven project with a Jenkinsfile doing git-flow based release management
Stars: ✭ 47 (+30.56%)
Mutual labels:  maven
wappdriver
Wondering how to send WhatsApp messages using Python using only 3 lines of code? You have come to the right place!
Stars: ✭ 40 (+11.11%)
Mutual labels:  whatsapp
cheshuo
🎃A lightweight game server framework. Based on Springboot and Netty. Using ProtoBuf as communication between client and server.
Stars: ✭ 23 (-36.11%)
Mutual labels:  maven
manon
🧪 Play with SpringBoot 2, JWT, Querydsl, GraphQL, Docker, ELK, PostgreSQL, MariaDB, Redis, MongoDB, Flyway, Maven, Gradle, TestNG, JUnit5, JaCoCo, GreenMail, CI, Quality Gates, Prometheus, Gatling, etc.
Stars: ✭ 26 (-27.78%)
Mutual labels:  maven
rpm-builder
Maven RPM builder plugin
Stars: ✭ 46 (+27.78%)
Mutual labels:  maven
WebChat
一份关于webSocket网页聊天的小demo
Stars: ✭ 54 (+50%)
Mutual labels:  maven
python-automated-bulk-whatsapp-messages
It is a python script to send automated bulk WhatsApp messages to multiple recipients from an excel sheet at once.
Stars: ✭ 56 (+55.56%)
Mutual labels:  whatsapp
maven
Development repository for the maven cookbook
Stars: ✭ 35 (-2.78%)
Mutual labels:  maven
Simple-YAML
A Java API that provides an easy-to-use way to store data using the YAML format.
Stars: ✭ 68 (+88.89%)
Mutual labels:  maven
pcljava
A port of the Point Cloud Library (PCL) using Java Native Interface (JNI).
Stars: ✭ 19 (-47.22%)
Mutual labels:  maven
flexmojos-introduction
A gentle introduction to Flexmojos & Maven
Stars: ✭ 50 (+38.89%)
Mutual labels:  maven
fnbr.js
A library to interact with Epic Games' Fortnite HTTP and XMPP services
Stars: ✭ 73 (+102.78%)
Mutual labels:  xmpp
sign-maven-plugin
Maven plugin which creates Open PGP / GPG signatures for all of the project's artifacts
Stars: ✭ 34 (-5.56%)
Mutual labels:  maven
maven-native
www.mojohaus.org/maven-native/
Stars: ✭ 13 (-63.89%)
Mutual labels:  maven
tr069
a virtual TR-069 test network to connect your DUT to openACS or GenieACS via STUN/XMPP
Stars: ✭ 17 (-52.78%)
Mutual labels:  xmpp

WAPI - The WhatsApp API

Connect your project to WhatsApp!

Installation

First, add the JitPack repository to your POM:

<repository>
	<id>jitpack.io</id>
	<url>https://jitpack.io</url>
</repository>

Then, add the following dependency to your POM:

<dependency>
	<groupId>com.github.ben221199</groupId>
	<artifactId>WAPI</artifactId>
	<version>master</version>
</dependency>

Usage

Verification

import nl.ben221199.wapi.Verification;

public class VerificationExample{

	public static void main(String... args){
		String userAgent = "";
		boolean encrypted = true;

		//Check if account already exists
		String[] existParams = {};
		Verification.exist(userAgent,encrypted,existParams);

		//Request code
		String[] codeParams = {};
		Verification.code(userAgent,encrypted,codeParams);

		//Register account using code
		String[] registerParams = {};
		Verification.register(userAgent,encrypted,registerParams);
	}

}

Connection

import com.whatsapp.proto.WA4Protos;
import java.security.KeyPair;
import java.security.PublicKey;
import nl.ben221199.wapi.Connection;

public class ConnectionExample{

	public static void main(String... args){
		//Connection arguments
		byte[] edge_routing_info = null;
		KeyPair client_static_keypair = null;
		PublicKey server_static_key = null;
		WA4Protos.ClientPayload payload = null;

		//Create connection
		Connection conn = new Connection("g.whatsapp.net",443)
			.setEdgeRoutingInfo(edge_routing_info)
			.setS(client_static_keypair)
			.setRS(server_static_key)
			.setPayload(payload);

		//Start connection
		conn.start();

		//Get IO
		FunInputStream in = conn.getInputStream();
		FunOutputStream out = conn.getOutputStream();
	}

}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].