Skip to content

Commit

Permalink
Merge pull request #30 from upwork/v1.3.3
Browse files Browse the repository at this point in the history
v1.3.3
  • Loading branch information
mnovozhylov committed Oct 21, 2019
2 parents 3e85640 + d4fa440 commit d6268c3
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History

## 1.3.3
* Add Specialties API
* Add Skills V2 API

## 1.3.2
* Update lodash dependency to >=4.17.13 (secufity fix)
* Fix GitHub issue #13
Expand Down
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-api",
"description": "Node.JS bindings for Upwork API",
"version": "1.3.2",
"version": "1.3.3",
"author": {
"name": "Maksym Novozhylov",
"email": "mnovozhilov@upwork.com"
Expand Down

0 comments on commit d6268c3

Please sign in to comment.