Skip to content

Commit

Permalink
Merge pull request #53 from UI-Jakob/master
Browse files Browse the repository at this point in the history
Company statistics added
  • Loading branch information
ArkeologeN committed Dec 7, 2015
2 parents 862da77 + 6612da0 commit 6b50575
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/services/companies.js
Expand Up @@ -23,6 +23,10 @@
this.company = function(id, cb) {
this.createCall('GET', 'companies/' +id + ":(" + fields.join(',') + ")", cb)(this.config);
};

this.company_stats = function(id, cb) {
this.createCall('GET', 'companies/' +id + "/company-statistics", cb)(this.config);
};

this.name = function(name, cb) {
this.createCall('GET', 'companies/universal-name=' + name.split(' ').join('-') + ":("+ fields.join(',') + ")", cb)(this.config);
Expand Down

0 comments on commit 6b50575

Please sign in to comment.