String function ( String arg0 , String arg1 ) { String loc0 = getStopsUrl . replace ( AGENCY_NAME_MACRO , CommonUtil . encodeURIComponent ( arg0 ) ) . replace ( ROUTE_CODE_MACRO , CommonUtil . encodeURIComponent ( arg1 ) ) ; String loc1 = CommonUtil . getHttpCallResponse ( loc0 ) ; return CommonUtil . getJSONFromXML ( loc1 ) ; }
fetches stops for an agency and route using the public api concode_field_sep String getAgenciesUrl concode_elem_sep String ROUTE_CODE_MACRO concode_elem_sep String getTimingsUrl concode_elem_sep String getRoutesUrl concode_elem_sep String AGENCY_NAME_MACRO concode_elem_sep String getStopsUrl concode_elem_sep Logger logger concode_elem_sep String STOP_CODE_MACRO concode_field_sep String getTimingsForStop concode_elem_sep String getAgencies concode_elem_sep String getRoutesForAgency