public TransportApiResult<List<Agency>> getAgenciesByBoundingBox(AgencyQueryOptions options, String boundingBox)
    {
    	if (options == null)
    	{
    		options = AgencyQueryOptions.defaultQueryOptions();
    	}
    	
    	if (boundingBox == null)
    	{
    		throw new IllegalArgumentException("BoundingBox is required.");
    	}
    	
    	String[] bbox = boundingBox.split(",", -1);
    	if (bbox.length != 4)
    	{
    		throw new IllegalArgumentException("Invalid bounding box. See valid examples here: http://developer.whereismytransport.com/documentation#bounding-box.");
    	}
    	
    	return TransportApiClientCalls.getAgencies(tokenComponent, settings, options, null, null, boundingBox);
    }
public TransportApiResult < List < Agency > > getAgenciesByBoundingBox ( AgencyQueryOptions options , String boundingBox ) { if ( options == null ) { options = AgencyQueryOptions . defaultQueryOptions ( ) ; } if ( boundingBox == null ) { throw new IllegalArgumentException ( "BoundingBox is required." ) ; } String [ ] bbox = boundingBox . split ( "," , - 1 ) ; if ( bbox . length != 4 ) { throw new IllegalArgumentException ( "Invalid bounding box. See valid examples here: http://developer.whereismytransport.com/documentation#bounding-box." ) ; } return TransportApiClientCalls . getAgencies ( tokenComponent , settings , options , null , null , boundingBox ) ; }
Gets a list of all agencies within a bounding box.

@param  options  	Options to limit the results by. Default: AgencyQueryOptions.defaultQueryOptions()
@param  boundingBox 	The bounding box from where to retrieve agencies. See valid examples here: http://developer.whereismytransport.com/documentation#bounding-box.
@return      		A list of agencies within a bounding box.