Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 560 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 560 Bytes

nextbus Build Status

Simple Java client for the NextBus API.

Official NextBus documentation: http://www.nextbus.com/xmlFeedDocs/NextBusXMLFeed.pdf

Quick start:

NextBusService nextBusService = new NextBusService();
AgencyListResponse agencyList = nextBusService.agencyList();
RouteListResponse routeList = nextBusService.routeList("sf-muni");
ScheduleResponse scheduleResponse = nextBusService.schedule("sf-muni", "N");
// and so on