Skip to content

Commit

Permalink
Merge pull request #5 from upwork/v2.1.0
Browse files Browse the repository at this point in the history
v2.1.0
  • Loading branch information
mnovozhylov authored Oct 21, 2019
2 parents b454ee8 + 65407ce commit 2744841
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 1 deletion.
1 change: 1 addition & 0 deletions .tests
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm test
18 changes: 18 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Release History

## 2.1.0
* Add Specialties API
* Add Skills V2 API

## 2.0.4
* Fix send request issue for PUT and DELETE methods

## 2.0.3
* Team API
* Reporting API

## 2.0.2
* Set library User-Agent

## 2.0.1
* Initial commit
24 changes: 24 additions & 0 deletions lib/routers/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,30 @@ exports.Metadata.prototype.getSkills = function(callback) {
this.api.client.get('profiles/v1/metadata/skills', {}, callback);
}

/**
* Get Skills V2
*
* @method getSkillsV2
* @param callback {String} Callback function
* @async
*/
exports.Metadata.prototype.getSkillsV2 = function(callback) {
debug('running request');
this.api.client.get('profiles/v2/metadata/skills', {}, callback);
}

/**
* Get specialties
*
* @method getSpecialties
* @param callback {String} Callback function
* @async
*/
exports.Metadata.prototype.getSpecialties = function(callback) {
debug('running request');
this.api.client.get('profiles/v1/metadata/specialties', {}, callback);
}

/**
* Get Regions
*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@upwork/node-upwork-oauth2",
"description": "Node.JS bindings for Upwork API (OAuth2)",
"version": "2.0.4",
"version": "2.1.0",
"author": {
"name": "Maksym Novozhylov",
"email": "mnovozhilov@upwork.com"
Expand Down

0 comments on commit 2744841

Please sign in to comment.