OneBusAway / onebusaway-alexa

An Java-based app to communicate with Amazon Alexa for devices such as the Amazon Echo
Other
52 stars 18 forks source link

Add client code to parse OBA REST API responses #2

Closed barbeau closed 8 years ago

barbeau commented 9 years ago

Given the number of methods and fields of the OBA REST API, the shortest path by far for this is to port the client code from OBA Android to normal Java. This involves changing from the Android Uri object to Java's URI, etc.

I've done this in the obaClient branch, as code integrated into this project: https://github.com/OneBusAway/onebusaway-alexa/tree/obaClient

I'm currently in the process of transferring it to its own repo to exist as a separate library that can be used in this and other Java-based OBA applications.

TODO:

barbeau commented 9 years ago

Here's the new home of the Java client library: https://github.com/OneBusAway/onebusaway-client-library

barbeau commented 8 years ago

It turns out porting the OBA Android client tests to normal Java is a little more complicated that I anticipated. I was still able to add the library JAR, though (by skipping the tests), and the main library seems to work as intended. So, I'm calling this issue closed, and I'm tracking the issue with the tests in a new ticket on the oba-client-library repo: https://github.com/OneBusAway/onebusaway-client-library/issues/1