https://github.com/sofwerx/skill-test
https://github.com/sofwerx/skill-test
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sofwerx/skill-test
- Owner: sofwerx
- License: other
- Created: 2018-05-01T14:24:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-02T13:42:35.000Z (about 7 years ago)
- Last Synced: 2025-01-20T05:40:34.343Z (4 months ago)
- Language: Python
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tsa-wait-skill
This skill uses the following 2 API's:
The TSA wait times API: http://apps.tsa.dhs.gov/MyTSAWebService/GetTSOWaitTimes.ashx which is documented at https://www.dhs.gov/mytsa-api-documentation
The IATA Codes api located at https://iatacodes.org/
Using this information we get the last TSA wait time for an airport code and use the IATA api to get the full name of the airport to respond back with the wait time.
To get this done we need:
- requests module installed via msm when you install the skill, if it doesn't install it can be installed via `pip install requests`# Setup API
Go to https://iatacodes.org/ and get a free api_key, put that key into your /etc/mycroft/mycroft.conf file in order for it to work.Example:
```
"TsaWaitSkill": {
"airport_api_key"
}
```# Installing
you can install this via msm install https://github.com/btotharye/tsa-wait-skill.git## Current state
Working features:
- what is the tsa wait for RDU (or any other airport code)
- what is the tsa wait at RDU (or any other airport code)
- how long is the tsa wait at RDU (or any other airport code)Known issues:
- ...TODO:
- add in fuzzy matching for airport name given and get code for wait time