Code Monkey home page Code Monkey logo

eladlevyy / flight-deals-tracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kichichoi102/flight-deals-tracker

0.0 1.0 0.0 28 KB

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!

License: GNU General Public License v3.0

Python 97.97% Shell 2.03%

flight-deals-tracker's Introduction

flight-deals-tracker

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!

Setup Sheety

  1. Create a new sheet on Google Sheets
  2. Create two tables, similar to this
  3. Connect Google Sheet to Sheety
  4. Get share link from Google Sheet and paste to Sheety new project
  5. Allow GET and POST
  6. Copy POST URL and add to SHEET_ENDPOINT in .env
  7. Create a new Token (Authentication -> Bearer).
  8. Paste {Authorization: Bearer <your token>} into .env

Setup Twilio

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.

  1. Go to Twilio Console
  2. Create a trial account
  3. Get the Account SID and the Auth Token.
  4. Write these to ACCOUNT_SID and AUTH_TOKEN respectively in the .env file.
  5. Create a new number and write to FROM_NUMBER in .env
  6. Write any phone number you want to write sms to in TO_NUMBER

Setup SMTP

  1. Create a new (or your own) gmail account
  2. In your Google/Gmail account, go to Settings
  3. Select the Forwarding and POP/IMAP settings
  4. Under the IMAP access section, toggle on the option to Enable IMAP.
  5. Go to Google Account
  6. Security -> Less secure app access -> Turn on access
  7. Write email and password to .env SOURCE_MAIL_ADDRESS and PASSWORD respectively in .env NOTE: Please only do this if you feel safe with giving unsecure access to the app

Setup Tequila API

  1. Go to Tequila Login and create a new account
  2. Allow Meta Search
  3. Go to [Search API], get the search endpoint and paste this into SEARCH_KEY in .env

Additional info

In .env write START_LOCATION and START_CITY

Thats it!

flight-deals-tracker's People

Contributors

kichichoi102 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.