Skip to content

Get an SMS anytime a flight deal is discovered by using Python! ✈️🐍

Notifications You must be signed in to change notification settings

biagioPiraino/heavy-sky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Heavy Sky

Get an SMS anytime a flight deal is discovered by using Python! ✈️🐍

Prerequisites

  1. Register on Tequila for free and obtain an API key by creating a Solution in your account

  2. Create a Twilio account for free

How to use

  1. Create an .env file in the projects' root folder containing the following variables:
Field
TWILIO_ACCOUNT_SID
TWILIO_AUTH_TOKEN
SENDER_NUMBER
RECEIVER_NUMBER
API_ENDPOINT_PREFIX
APY_KEY
DATETIME_FORMAT
FLIGHT_DATE_FORMAT
  1. Define your search criteria in the critieria.json file:
Field Data Type Format
fly_from string -
fly_to string -
date_from string dd/MM/yyyy
date_to string dd/MM/yyyy
return_from string dd/MM/yyyy
return_to string dd/MM/yyyy
adults number -
price_from number -
price_to number -
  1. Run the main.py script

References

Tequila API - Used to retrive flights data.

Twilio API - Used for sending SMS.

About

Get an SMS anytime a flight deal is discovered by using Python! ✈️🐍

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages