After generating Gmail API, the CLIENT CONFIGURATION will be saved as credentials.json
. It should be kept in the working directory. otherwise contacts details can't be fetched from Google Contacts.
All the details will be saved in token.pickle
file and no further retrieving will be occurred if there is no change.
- Tells
'I'm fine'
when askedhow are you
. - Tells
It's good to know that you are fine
if the wordfine
is in the query. Finds and tells related data about query
(first two sentences) from wikipedia ifwikipedia
is in the query.- It'll say
I'm Era - a personal desktop assistant
when askedwho are you
. Opens Spartan14
(a chemistry software) ifspartan
is in the query.
▪️ The target path should be specified (software -> file location -> properties -> target path).Opens YouTube
ifyoutube
is in the query.
▪️ The target URL should be specified (https://www.youtube.com/) 🔗Opens Google
ifgoogle
is in the query.
▪️ the target URL should be specified (https://www.google.co.in/) 🔗Opens Stack Overflow
ifstackoverflow
is in the query.
▪️ The target URL should be specified (https://stackoverflow.com/) 🔗Plays a random somg or changes the song
ifplay song
orchange song
is in the query.
▪️ The local folder should be specified where the songs are kept.- Tells us the current local
time
iftime
is in the query. Opens Visual Studio Code
ifcode
is in the query.
▪️ The target path should be specified (software -> file location -> properties -> target path).'Quits the application'
whenquit
orclose
orexit
in the query.- Tells
'Thank you sir, I'm always here for you'
whenawesome
oramazing
in the query. Searches in Google
about the query ifwhat
orwho
orwhere
orcan you
in the query.Sends a mail to the contact
if the query matches with one of theGoogle Contacts
.
▪️ The contacts and associated email ids can be fetched using Gmail API.
▫️ For more details about unlimited retrieving of contact details using Gmail API please read my article published inMedium
-
https://medium.com/@aritraroycoc/retrieving-email-and-phone-no-7c60ad3a9b69 🔗
▪️ To send mail inbuilt module smtplib is used. But one has to less secure apps and google account using G Suite Admin Account.
▫️ Please note, it is not normal Google Account and read all the terms and conditions for further approaching.
▫️ For futher information please visit -
https://support.google.com/a/answer/6260879?hl=en 🔗Makes a voice call to the contact
if the query matches with one of theGoogle Contacts
.
▪️ The contacts and associated phone numbers can be fetched using Gmail API.
▫️ For more details about unlimited retrieving of contact details using Gmail API please read my article published inMedium
-
https://medium.com/@aritraroycoc/retrieving-email-and-phone-no-7c60ad3a9b69 🔗
▪️ To make voice calls I've taken the help of Twilio account.
▫️ One'll need to get account_sid and auth_token. Please check all the details at -
https://www.twilio.com/docs/voice/tutorials/how-to-make-outbound-phone-calls-python 🔗
▫️ Please note, One can only make call to the registered number for a limited trial period. For full access one'll need to pay.
- Star and Fork this repo to your account
- Go to your project folder using your shell and run the following code to install all the required modules -
pip install -r requirements.txt
- Now run the python code to enjoy the assistance of Era.
- Star and Fork this repo to your account
- Create a New Branch and do Necessary Modification
- Send a PR
Don' t worry I am always here to help you. Create a issue HERE