PostStatuses

Here is a list of methods and examples of working with PostStatuses

GetAll()

// returns all poststatuses
var poststatuses = await client.PostStatuses.GetAll();

GetByID

// returns poststatus by ID
var poststatus = await client.PostStatuses.GetByID(123);

Query

Create parametrized request

// returns result of query
var queryBuilder = new PostStatusesQueryBuilder();
queryBuilder.PerPage = 40;
queryBuilder.Page = 2;
queryBuilder.Before = DateTime.Now;
var poststatuses = await client.PostStatuses.Query(queryBuilder);