Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'))}
# {"phone": "+905467751802", "message": "diffrent message"}
# If you don't want it, you can delete the key. "message"
send_message = api.send_message(message_body="test",
                                phone_numbers=[{"phone": "+905467751802", "message": "test xxx"}], files=files)
send_message = api.send_message(message_body="test",
                                phone_numbers=[{"phone": "+905467751802", "message": "test xxx"}])

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"))
'''

About

Whatsapp unofficial api for python. Very EASY and very FAST.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages