-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a40eb6
commit 6b16a9f
Showing
1 changed file
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,38 @@ | ||
# whatsapp-api-python | ||
# Whatsapp Unofficial Api Python | ||
Whatsapp unofficial api for python. Very EASY and very FAST. | ||
|
||
First one register and get device https://whatsapp.securedatainfo.com/ | ||
|
||
Use git clone https://github.com/tolgatasci/whatsapp-api-python | ||
|
||
Load module | ||
|
||
from api import Api | ||
|
||
Example | ||
|
||
''' | ||
api = Api(device_token="") | ||
messages = api.messages(limit=20) | ||
print(messages) | ||
|
||
incoming_message = api.incoming_messages() | ||
print(incoming_message) | ||
|
||
show_message = api.show_message("") | ||
print(show_message) | ||
|
||
files = {'file': ('test.jpg', open('test.jpg', 'rb'))} | ||
send_message = api.send_message(message_body="test", phone_numbers=["+905467751802"], files=files) | ||
print(send_message) | ||
|
||
send_code = api.send_code(code="053666", phone="+905467751802") | ||
print(send_code) | ||
info = api.info() | ||
print(info) | ||
|
||
core_get = api.GET(method='test',params=dict(test="1")) | ||
core_post = api.GET(method='test', params=dict(test="1")) | ||
''' | ||
|
||
|