Node-TrendySkills
Node Client library to use the trendyskills API
Installation
npm install --save node-trendyskills
Usage
API Key
Before integrating the Trendy Skills API to your application you have to obtain a unique API key for the domain that it is going to be used with. Each domain can have only one API key. To generate a new unique API key for your application please click here
Node.js
var ts = 'YOUR_API_KEY_HERE';
- status()
Checks and returns the status of the web service
tsstatus;// { success: true,// numValues: '1',// status: 'ok',// links: { self: [ [Object], [Object] ] } }
- keywords()
Search for a keyword name
ts;// { success: true,// category: 'allKeywords',// numValues: 5,// keywords: // [ { id: '915', keyName: 'Java' },// { id: '577', keyName: 'Java 3D' },// { id: '564', keyName: 'Java Advanced Imaging' },// { id: '587', keyName: 'Java API for XML-Based RPC' },// { id: '556', keyName: 'Java Authentication and Authorization Service' } ],// links: { self: [ [Object], [Object] ] } }
-categories()
Search for a category name
ts;// { success: true,// category: 'allCategories',// numValues: 1,// categories: [ { id: '8', catName: 'Languages', parentID: '0' } ],// links: { self: [ [Object], [Object] ] } }
-keywordNoDate()
Number of occurrencies of defined keywords throughout the whole available date.
ts;
-keywordDate()
Number of occurencies of defined keywords in a specific date range
ts;
-categoryNoDate()
Number of occurrencies of defined categories throughout the whole available date.
ts;
-categoryDate()
Number of occurencies of defined categories in a specific date range
ts;
-filterAmbiguous()
Filter the occurencies based on pattern recognition algorithm (experimental)
ts;
-analyticDate()
Get analytic occurencies day by day
ts;
For more information on basic options and optional parameters please click here