majedalhulayel / whatsappbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

whatsappbot

This is a whatsapp bot by which you can send semi-customized messages to contacts list.

  • it will collect contacts names

  • it will create a dictionary of the first names

  • if the name is in not in Arabic, it will convert it to Arabic using Google Translater API (You'll need to get Google API key, follow the link in the code to get it for free).

  • it will identify if the gender is male or female using the attached csv file. This could be further improved by using free API to specify if the name is for males or females.

  • Lastly, adjust the message you want to send for males, and females, and it will send the message including the name and taking into consideration the gender

The code could be adjusted slightly for to serve various purposes.

About


Languages

Language:Python 100.0%