Giter Site home page Giter Site logo

oceanengineapi's Introduction

巨量引擎 Golang API

1. 安装 INSTALL

go get github.com/MrNullPoint/OceanEngineApi

2. 使用方式

api := NewOceanEngineApi("access_token")

3. 完成功能

分类 功能 接口 测试
DMP 生成 DMP 数据源文件压缩包 api.DataSourceFileCompose passed
DMP 上传数据源文件 api.DataSourceFileUpload passed
DMP 数据源创建 api.DataSourceCreate passed
DMP 数据源更新 api.DataSourceUpdate passed
DMP 数据源详细信息 api.DataSourceDetail passed
DMP 发布人群包 api.AudiencePublish passed
DMP 推送人群包 api.AudiencePush

其他注意

  1. 巨量引擎目前 DMP 数据格式要求是 PROTOBUF V2 的版本,我特 protoc 了一个根据头条原来 proto 文件对应的 toutiao_dmp.pb.go ,同时修改了头条 DMP 文件说明页面中的 python 代码几处小 bug,修改 bug 的文件对应 pb 目录下的 toutiao_dmp_test.pytoutiao_dmp_validate.py
  2. 数据源详细信息接口 巨量 返回的参数中 data.data_list.default_audience.source 文档中是 string 类型,可是实际返回的是整型
  3. DMP 相关文档标识的 X-Debug-Mode 实际测试并不能通过传递这个字段来获取详细错误信息

oceanengineapi's People

Contributors

adpalfish avatar mrnullpoint avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ite-sdk

oceanengineapi's Issues

this is not issues

我最近也在计划整合巨量的API,这里咨询下,你这里将API封装一次的目的在于什么?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.