Skip to content

kajyr/TpApiBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An Api Url Builder for TargetProcess

Resources

License

Stars

Watchers

Forks

Packages

No packages published