routes:
-
/sms
-
/email (Its not working beacuse the Host, but you can use it by yourself)
example request with python (sms):
import requests
r = requests.post("https://api-bruh-bot.elpanajose.repl.co/sms",
json={"phone": "+5759075894789"})
print(r.text)
email:
import requests
r = requests.post("https://api-bruh-bot.elpanajose.repl.co/email",
json={"email": "[email protected]"})
print(r.text)
-
install al the go dependencies with
go get .
-
Then install all the python deps with
pip3 install -r requirements.txt
-
and finally in the
/routes
directory create a .env file with the following content
EMAIL1=
EMAIL2=
PASSWORD=