2.0.0-SNAPSHOT • Published 2 years ago

athena_dashboard_apis v2.0.0-SNAPSHOT

Weekly downloads
-
License
Unlicense
Repository
-
Last release
2 years ago

athena_dashboard_apis

AthenaDashboardApis - JavaScript client for athena_dashboard_apis Athena Dashboard APIs This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0-SNAPSHOT
  • Package version: 1.0.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install athena_dashboard_apis --save

Finally, you need to build the module:

npm run build
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

To use the link you just defined in your project, switch to the directory you want to use your athena_dashboard_apis from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

Finally, you need to build the module:

npm run build

git

If the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var AthenaDashboardApis = require('athena_dashboard_apis');


var api = new AthenaDashboardApis.AnalysisApi()
var opts = {
  'createAnalysisRequest': new AthenaDashboardApis.CreateAnalysisRequest() // {CreateAnalysisRequest} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createAnalysis(opts, callback);

Documentation for API Endpoints

All URIs are relative to http://localhost:8080/api/v1

ClassMethodHTTP requestDescription
AthenaDashboardApis.AnalysisApicreateAnalysisPOST /analyses创建内容特征分析报告
AthenaDashboardApis.AnalysisApideleteAnalysisDELETE /analyses/{id}删除内容特征分析报告
AthenaDashboardApis.AnalysisApigetAnalysisGET /analyses/{id}查询内容特征分析报告详情
AthenaDashboardApis.AnalysisApigetAnalysisContentsGET /analyses/{id}/contents获取分析报告包含的内容
AthenaDashboardApis.AnalysisApigetAuthorAnalysisGET /analyses/{id}/authorAnalysis以内容创作者类型和行业的维度进行分析
AthenaDashboardApis.AnalysisApigetCharacteristicsAnalysisGET /analyses/{id}/characteristicsAnalysis以内容特征维度进行分析
AthenaDashboardApis.AnalysisApigetFilterAnalysisGET /analyses/{id}/filterAnalysis以不同特征维度作为条件进行故事漏斗分析
AthenaDashboardApis.AnalysisApilistAnalysesGET /analyses检索内容特征分析报告列表
AthenaDashboardApis.CollectionApicreateCollectionPOST /collections创建内容包
AthenaDashboardApis.CollectionApideleteCollectionDELETE /collections/{id}删除内容包
AthenaDashboardApis.CollectionApigetCollectionGET /collections/{id}查询内容包
AthenaDashboardApis.CollectionApilistCollectionsGET /collections查询内容包列表
AthenaDashboardApis.CollectionApilistContentsInCollectionGET /collections/{id}/contents查询内容包中的内容
AthenaDashboardApis.CollectionApiupdateCollectionPUT /collections/{id}更新内容包
AthenaDashboardApis.ContentApigetContentGET /contents/{id}获取内容详情信息
AthenaDashboardApis.ContentApigetContentFanPersonasGET /contents/{id}/personas获取浏览过该内容的粉丝画像
AthenaDashboardApis.ContentApilistContentRelatedBrandsGET /contents/{id}/brands获取内容相关的品牌
AthenaDashboardApis.ContentApilistRecommendKeysGET /contents/recommendKeys根据输入获取内容的热门标签(频数)
AthenaDashboardApis.ContentApilistSimilarContentsGET /contents/{id}/similars获取相似内容
AthenaDashboardApis.ContentApisearchContentsGET /contents根据条件和时间区间搜索热门内容
AthenaDashboardApis.ContentApisearchContentsOptionsOPTIONS /contents搜索热门内容API的参数信息
AthenaDashboardApis.HotspotApianalyzeHotspotFansGET /hotspots/{key}/fans热词观众分析
AthenaDashboardApis.HotspotApianalyzeHotspotKolsGET /hotspots/{key}/authors/analysis热词相关达人分析
AthenaDashboardApis.HotspotApigetHotspotGET /hotspots/{key}查询热点
AthenaDashboardApis.HotspotApigetHotspotTrendsGET /hotspots/{key}/trends热点相关指标趋势分析
AthenaDashboardApis.HotspotApilistHotspotBrandsGET /hotspots/{key}/brands热词相关品牌分析
AthenaDashboardApis.HotspotApilistHotspotContentsGET /hotspots/{key}/contents获取热词相关内容
AthenaDashboardApis.HotspotApilistHotspotTopicsGET /hotspots/{key}/topics热词相关话题分析
AthenaDashboardApis.HotspotApilistRelatedHotspotsGET /hotspots/{key}/relatedHotspots相关热点
AthenaDashboardApis.HotspotApisearchHotspotsGET /hotspots搜索热点
AthenaDashboardApis.HotspotApisearchHotspotsOptionsOPTIONS /hotspots搜索热点选项
AthenaDashboardApis.KOLApigetAuthorGET /authors/{id}获取创作者详情分析
AthenaDashboardApis.KOLApigetAuthorContentAnalysisGET /authors/{id}/contentAnalysis创作者内容发布和互动趋势分析
AthenaDashboardApis.KOLApigetAuthorContentTimeAnalysisGET /authors/{id}/authorContentTimeAnalysis创作者作品时刻分析
AthenaDashboardApis.KOLApigetAuthorContentsGET /authors/{id}/contents获取创作者内容
AthenaDashboardApis.KOLApigetAuthorFanPersonasGET /authors/{id}/personas获取创作者粉丝画像
AthenaDashboardApis.KOLApigetAuthorTopicAnalysisGET /authors/{id}/topics创作者参与话题分析
AthenaDashboardApis.KOLApigetBusinessAnalysisGET /authors/{id}/businessAnalysis创作者推广和商单分析
AthenaDashboardApis.KOLApilistAuthorKeysGET /authors/{id}/keys列举创作者发表内容高频词
AthenaDashboardApis.KOLApisearchAuthorsGET /authors检索KOL
AthenaDashboardApis.KOLApisearchAuthorsOptionsOPTIONS /authors达人搜索API的参数信息

Documentation for Models

Documentation for Authorization

ApiKeyAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

BearerAuth

  • Type: Bearer authentication (Bearer)
1.9.5-0

2 years ago

1.9.6-0

2 years ago

1.9.9-0

2 years ago

1.9.7-0

2 years ago

1.9.8-0

2 years ago

2.0.0-SNAPSHOT

2 years ago

1.9.3-0

2 years ago

1.9.4-0

2 years ago

1.9.1-0

2 years ago

1.9.2-0

2 years ago

1.9.0-0

2 years ago

1.8.5-0

2 years ago

1.7.3

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.10

2 years ago

1.8.4-0

2 years ago

1.8.1-0

2 years ago

1.8.2-0

2 years ago

1.8.3-0

2 years ago

1.5.1-0

2 years ago

1.7.9

2 years ago

1.7.8

2 years ago

1.7.7

2 years ago

1.7.6

2 years ago

1.7.5

2 years ago

1.7.4

2 years ago

1.6.1-0

2 years ago

1.4.2-0

2 years ago

1.4.1-0

2 years ago

1.3.1-0

2 years ago

1.3.0-0

2 years ago

1.2.0-0

2 years ago

1.1.0-0

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3-SNAPSHOT

2 years ago

1.0.0-SNAPSHOT

2 years ago