duckduckgo/zeroclickinfo-spice — pull request #1156 by mattr555 (2014-10-11 17:16:03+00:00)
Title: Added PATH transit answer

**What does your Instant Answer do?**
Give a timetable for the PATH (Port Authority Trans-Hudson)

**What problem does your Instant Answer solve (Why is it better than organic links)?**
It gives an answer for the next train.

**What is the data source for your Instant Answer? (Provide a link if possible)**
[My own api](https://github.com/mattr555/njt-api) that uses the [GTFS data](http://www.panynj.gov/path/developers.html).

**Why did you choose this data source?**
The GTFS data is official

**Are there any other alternative (better) data sources?**
Nope

**What are some example queries that trigger this Instant Answer?**
`path nwk to jsq`, `next train to newark from wtc`.

**Which communities will this Instant Answer be especially useful for? (gamers, book lovers, etc)**
Commuters who use the PATH

**Is this Instant Answer connected to a DuckDuckHack [Instant Answer idea](https://duck.co/ideas)?**
Nope

**Which existing Instant Answers will this one supersede/overlap with?**
None

**Are you having any problems? Do you need our help with anything?**
There is no real time data available for the PATH, so maybe the design could be different (though I think it looks ok now).

**What are the terms of use for the API? Will DuckDuckGo need specific authorization (e.g. an API key)? Are there any costs associated with API usage?**
DDG may use my api with my blessing.

**What does the Instant Answer look like? (Provide a screenshot for new or updated Instant Answers)**
![desktop](http://i.imgur.com/WhnRmHj.png)
![moblie](http://i.imgur.com/NTrWxau.png)

This also establishes the Transit namespace, which will also be added when #1056 is merged.

## Checklist
Please place an 'X' where appropriate.

```
[x] Added metadata and attribution information
[x] Wrote test file and added to t/ directory
[x] Verified that instant answer adheres to design guidelines (https://duck.co/duckduckhack/design_styleguide)
[x] Verified that instant answer adheres to code styleguide (https://duck.co/duckduckhack/code_styleguide)
[/] Tested cross-browser compatibility

Please let us know which browsers/devices you've tested on:
- Windows 8
[] Google Chrome
[] Firefox
[] Opera
[] IE 10

- Windows 7
[] Google Chrome
[] Firefox
[] Opera
[] IE 8
[] IE 9
[] IE 10

- Windows XP
[] IE 7
[] IE 8

- Mac OSX
[] Google Chrome
[] Firefox
[] Opera
[] Safari

- iOS (iPhone)
[x] Safari Mobile
[] Google Chrome
[] Opera

- iOS (iPad)
[x] Safari Mobile
[] Google Chrome
[] Opera

- Android
[] Firefox
[] Native Browser
[] Google Chrome
[] Opera

- Crunchbang (Linux)
[x] Google Chrome
```