AuctionsApi
Summary
public AuctionsDto Auctions()
It returns a list of auctions.
public AuctionsDto Auctions( AuctionsUriParameterBuilder uriParametersBuilder)
It returns a list of auctions.
public AuctionDto Auction(int id)
This function will make a GET request to the Auction API and return the AuctionDto object
public LogsDto AuctionLogs(int id)
It gets the logs of an auction.
public LogsDto AuctionLogs(int id, AuctionsUriParameterBuilder auctionsUriParametersBuilder)
It gets the logs for an auction.
private readonly string _requestUriBase
private Uri AuctionsUri()
It returns a new Uri object that is the base request URI with the /auctions path appended to it.
private Uri AuctionsUri( IUriParameterBuilder uriParameterBuilder)
It takes a IUriParameterBuilder and returns a Uri that is the base URI for the auctions endpoint with the parameters built by the IUriParameterBuilder appended to the end.
private Uri AuctionUri(int id)
It returns a URI for the auction with the given ID.
private Uri AuctionsLogsUri(int id)
It returns a Uri object that represents the URL for the auction logs endpoint
private Uri AuctionsLogsUri(int id, IUriParameterBuilder uriParameterBuilder)
It returns a URI for the auctions logs endpoint
Members
public AuctionsDto Auctions()
It returns a list of auctions.
AuctionsDto
public AuctionsDto Auctions( AuctionsUriParameterBuilder uriParametersBuilder)
It returns a list of auctions.
Parameters
AuctionsUriParameterBuilderThis is a class that contains all the parameters that can be passed to the API.
AuctionsDto
public AuctionDto Auction(int id)
This function will make a GET request to the Auction API and return the AuctionDto object
Parameters
idThe id of the auction you want to retrieve
Returns
An AuctionDto object
public LogsDto AuctionLogs(int id)
It gets the logs of an auction.
Parameters
idThe id of the auction you want to get the logs for.
Returns
A list of logs for the auction.
public LogsDto AuctionLogs(int id, AuctionsUriParameterBuilder auctionsUriParametersBuilder)
It gets the logs for an auction.
Parameters
idThe id of the auction you want to get the logs for.AuctionsUriParameterBuilderThis is a class that contains all the parameters that can be passed to the API.
Returns
A LogsDto object.
private readonly string _requestUriBase
private Uri AuctionsUri()
It returns a new Uri object that is the base request URI with the /auctions path appended to it.
private Uri AuctionsUri( IUriParameterBuilder uriParameterBuilder)
It takes a IUriParameterBuilder and returns a Uri that is the base URI for the auctions endpoint with the parameters built by the IUriParameterBuilder appended to the end.
Parameters
IUriParameterBuilderThis is an interface that is used to build the query string parameters for the request.
private Uri AuctionUri(int id)
It returns a URI for the auction with the given ID.
Parameters
idThe id of the auction you want to get.
private Uri AuctionsLogsUri(int id)
It returns a Uri object that represents the URL for the auction logs endpoint
Parameters
idThe id of the auction you want to get the logs for.
private Uri AuctionsLogsUri(int id, IUriParameterBuilder uriParameterBuilder)
It returns a URI for the auctions logs endpoint
Parameters
idThe id of the auction you want to get the logs for.IUriParameterBuilderThis is an interface that is used to build the query string parameters.
Last updated