1.2.0 • Published 9 years ago
tpapibuilder v1.2.0
TpApiBuilder
An Api Url Builder for TargetProcess
Usage
var bugApiUrl = new TPApiBuilder
				.bug()
				.take(10)
				.where('Team.id == 11388')
				.andWhere('EntityState.IsFinal != true')
				.select('id,name')
				.render();
				Methods
constructor
For privates instances you might pass the domain as parameter
var bugApiModel = new TPApiBuilder(domain);render
Renders the api to string
var apiUrl = new TPApiBuilder(domain).render();where andWhere
select
take orderby