TradeMe.Api.Client.SearchMethods.SearchMotorBoats C# (CSharp) Method

SearchMotorBoats() public method

Performs the Search Method: Search Motor Boats

using the "query" string provided - should be the "Search/Motors/Boats.xml?length_max=5000&type=inflatable" part of the url. It shouldn't include "http://api.trademe.co.nz/v1/".

DOES NOT REQUIRE AUTHENTICATION.
public SearchMotorBoats ( string query ) : MotorBoats
query string The query string that will be added to the base url and used to connect to the API with.
return MotorBoats
        public MotorBoats SearchMotorBoats(string query)
        {
            var getRequest = _connection.UnauthenticatedConnection(query);
            var xml = getRequest.ToString();

            return Deserializer<MotorBoats>.Deserialize(new MotorBoats(), xml);
        }

Same methods

SearchMethods::SearchMotorBoats ( string searchString, SortOrder sortOrder, decimal priceMin, decimal priceMax, BoatType type, int lengthMin, int lengthMax, System.DateTime dateFrom, int page, int rows ) : MotorBoats