fly_tracker package¶
Submodules¶
fly_tracker.Notifier module¶
- class fly_tracker.Notifier.Notifier(email: str, data: DataFrame, scraper: PriceScraper)[source]¶
Bases:
objectNotifier class that sends email notification with the scraped data
fly_tracker.Scraper module¶
Scrapes and returns a csv file with airline price data Returns:
pd.Dataframe: Airfare price data between src and dest
- class fly_tracker.Scraper.PriceScraper(src: str, dest: str, price: int, date: str)[source]¶
Bases:
objectScraper class that scrapes google flights
- create_df(data: list[dict]) DataFrame[source]¶
Helper function to convert data into a Pandas Dataframe
- Args:
data (list[dict]): Flight Information data
- Returns:
pd.DataFrame: data in the form of a pandas Dataframe