Leverages Tequila Search API
to search for cheap flights to chosen destinations!
If a user writes the destination cities and their starting city, this app does the rest and sends you sms/email notifications if a cheap flight is available!
- Create a new sheet on Google Sheets
- Create two tables, similar to this
- Connect Google Sheet to Sheety
- Get share link from Google Sheet and paste to Sheety new project
- Allow
GET
andPOST
- Copy
POST URL
and add toSHEET_ENDPOINT
in.env
- Create a new Token (Authentication -> Bearer).
- Paste
{Authorization: Bearer <your token>}
into.env
Twilio supports HTTP Basic authentication. This allows you to protect the URLs on your web server so that only you and Twilio can access them.
- Go to Twilio Console
- Create a trial account
- Get the
Account SID
and theAuth Token
. - Write these to
ACCOUNT_SID
andAUTH_TOKEN
respectively in the.env
file. - Create a new number and write to
FROM_NUMBER
in.env
- Write any phone number you want to write sms to in
TO_NUMBER
- Create a new (or your own) gmail account
- In your Google/Gmail account, go to Settings
- Select the
Forwarding and POP/IMAP
settings - Under the
IMAP access
section, toggle on the option toEnable IMAP
. - Go to
Google Account
Security
->Less secure app access
->Turn on access
- Write
email
andpassword
to .envSOURCE_MAIL_ADDRESS
andPASSWORD
respectively in.env
NOTE: Please only do this if you feel safe with giving unsecure access to the app
- Go to Tequila Login and create a new account
- Allow
Meta Search
- Go to [Search API], get the
search endpoint
and paste this intoSEARCH_KEY
in.env
In .env
write START_LOCATION
and START_CITY
Thats it!