Site Tools


linux:ubuntu:yowsup

This is an old revision of the document!


yowsup

yowsup is a python library that enables building applications that can communicate with WhatsApp users. The project started as the protocol engine behind Wazapp for Meego and OpenWA for BB10. Now as a standalone library it can be used to power any custom WhatsApp client.

https://github.com/tgalal/yowsup

Installation

Requirements

- python>=2.7,⇐3.7
- consonance==0.1.3-1
- python-axolotl==0.2.2
- protobuf>=3.6.0
- six==1.10

yowsup-cli

Clone the git repository and execute the setup

git clone https://github.com/tgalal/yowsup.git
cd yowsup-master/
./setup.py install

Configuration

FIXME

Registration

Example:

yowsup-cli registration --requestcode sms --config-phone 49XXXXXXXX --config-cc 49 --config-mcc 123 --config-mnc 456
yowsup-cli registration --register 123456 --config-phone 49XXXXXXXX

Usage

FIXME

Good to know

FIXME

CountryCode => Germany = 49
--config-cc 49

Mobile Country Code => Germany = 262
--config-mcc 262

Mobile Network Codes
--config-mnc 03
Most likely 01 - 03
01 	Telekom 	Telekom Deutschland GmbH 	
02 	Vodafone 	Vodafone D2 GmbH 	
03 	O2 	        Telefónica Germany GmbH & Co. oHG

Freenet / Klarmobil => 03
Freenet Funk => 07?!
0157 => Eplus => 03
Wikipedia - Mobile Network Codes Wikipedia - Mobilfunknetzkennzahl

linux/ubuntu/yowsup.1610384735.txt.gz · Last modified: 2021/01/11 18:05 by lunetikk