VISWESWARAN1998 / Simple-Yet-Hackable-WhatsApp-api

There is no official WhatsApp API. Here is a simple python class which satisfies the need.
Apache License 2.0
616 stars 154 forks source link

[feature request] please consider these issues #54

Closed aahnik closed 4 years ago

aahnik commented 4 years ago
  1. Adding delete chat feature.(not same as clear chat)

  2. Feature to create whatsapp brodcast lists and delete them

  3. Seperate the functionality into different modules.(maintaining the code is difficult as everything is in same file )

  4. Xpath and css selector portions must be seperated from code and be hosted in a CDN .( Atleast kept in a seperate var.py file or a json file , so it's easy to modify)

  5. A test module to test whether all features of api is working properly or not. And print exactly where the api is breaking.

  6. Pack all the modules into a package and adding init.py and setup.py so we can pip install the api in entire system

  7. Issue 48 is solved only in method send_message The issue exists in send_picture and send_document

  8. The path of chrome driver installation and the json file containing the latest xpath&css selector should be passed to the constructor . So that the api works in a hassle free manner across.

Thanks a ton 🙂 Aahnik

aahnik commented 4 years ago

I beleive telegram is better than wapp. You can log people in with telegram and it's officially free api .

bhavya32 commented 4 years ago

@aahnik please check issue #56 - I think you can help me out.

aahnik commented 4 years ago

@bhavya32 I am currently busy with some work as I mentioned in my previous comments

I have not used that part of the code so it might take time further .

I recommend you try sending documents in a different yet SIMPLE manner

And it's done 😊

aahnik commented 4 years ago

I have made changes solving #56 and #54 part 7 solved #48 in a modular approach for send_message, send_document,send_picture

@bhavya32 i tried to solve your problem see my pull request #53 added new commits recently

do a test run

you can see my version of whatsapp api which i forked from @VISWESWARAN1998 here