tpapibuilder

1.2.0 • Public • Published

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

Package Sidebar

Install

npm i tpapibuilder

Weekly Downloads

1

Version

1.2.0

License

ISC

Last publish

Collaborators

  • kajyr