https://github.com/agrafix/flightmonitor
Haskell: A tool to monitor flight prices given a trip specification
https://github.com/agrafix/flightmonitor
Last synced: about 1 year ago
JSON representation
Haskell: A tool to monitor flight prices given a trip specification
- Host: GitHub
- URL: https://github.com/agrafix/flightmonitor
- Owner: agrafix
- License: bsd-3-clause
- Created: 2018-05-28T02:33:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-29T05:54:33.000Z (about 8 years ago)
- Last Synced: 2025-05-10T06:36:56.986Z (about 1 year ago)
- Language: Haskell
- Size: 11.7 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# flightmonitor (WIP)
A Haskell tool to monitor flight prices given a trip specification. An example specification file is included at `config.yaml`:
```yaml
amadeusKey: YOUR_KEY_HERE
weekLookAhead: 5
trips:
- origin: SFO
destination: HNL
departure:
dayOfWeek: friday
time: "16:00"
return:
returnday:
- monday
- "07:00"
nonStop: true
maxPriceUSD: 700
- origin: SFO
destination: FRA
departure:
dayOfWeek: friday
return:
length: 14
nonStop: true
maxPriceUSD: 3000
```
The output currently looks like this:
```
# Price: 677 USD
Outbound:
UA 1509: 2018-06-08 16:35 -> 2018-06-08 18:51
Inbound:
UA 396: 2018-06-10 21:00 -> 2018-06-11 04:53
Outbound:
UA 1509: 2018-06-08 16:35 -> 2018-06-08 18:51
Inbound:
UA 1575: 2018-06-10 21:30 -> 2018-06-11 05:35
Outbound:
UA 1670: 2018-06-08 19:11 -> 2018-06-08 21:40
Inbound:
UA 396: 2018-06-10 21:00 -> 2018-06-11 04:53
Outbound:
UA 1670: 2018-06-08 19:11 -> 2018-06-08 21:40
Inbound:
UA 1575: 2018-06-10 21:30 -> 2018-06-11 05:35
# Price: 2667 USD
Outbound:
UA 926: 2018-06-15 19:10 -> 2018-06-16 15:15
Inbound:
LH 454: 2018-06-29 10:30 -> 2018-06-29 12:55
Outbound:
UA 58: 2018-06-15 13:45 -> 2018-06-16 09:55
Inbound:
LH 454: 2018-06-29 10:30 -> 2018-06-29 12:55
...
```