hasoffers API 研究

简介: hasoffers 官网 :  http://www.hasoffers.com/ hasoffers帮助文档 : http://support.hasoffers.com/ hasoffers API文档:  http://developers.hasoffers.com/#/brand hasoffers后台登陆:  https://XXXX.hasoffers.com/lo


hasoffers 官网 :  http://www.hasoffers.com/

hasoffers帮助文档 : http://support.hasoffers.com/

hasoffers API文档:  http://developers.hasoffers.com/#/brand

hasoffers后台登陆:  https://XXXX.hasoffers.com/loginXXXX为公司申请的账号


最近研究了一段时间的hasoffers, 发现这家伙太强大了,一个广告平台做如此强大,让我等开发人员实在没少费心思研究,现在把研究结果记录下来,以供学习


Getting Started with the Brand API

Requirements

  • In order to use the API, your network must be on the Enterprise pricing plan or a Dedicated solution.
  • All requests require an API Key, which is a randomly generated string unique to your network.
  • IP address making request must have been submitted to the white-list for API access.
  • Additionally, all requests require your Network ID.

Creating an API Key

  • API keys can be created from within the application:
    • Log into the application and hover over the Support tab in the Navigation Bar, and click on the "API" link from the drop-down.
    • If you don't already have an API Key there will be a notice underneath the Navigation Bar with a link to create one.
    • Once you've created one, the page will display your private API Key. It will begin with the letters 'NET'.
  • You can also talk to your Account Manager about creating and obtaining your API Key

While-list IP Address

  • White-listing an IP address can be added from within the application:
    • Hover over the Support tab in the Navigation Bar and click on the API link from the drop-down.
    • There will be a box underneath your API Key to submit an IP address to whitelist.
  • Additional IP addresses can be added to the while-list using the API method: Application::whitelistNetworkApiIp

Rate Limiting

  • Networks are limited to 50 API calls every 10 seconds. If you require a higher limit, please contact your account manager.

Making a Request

Your Network's API Key and Network ID are used to authenticate requests through the API. Every API request must have a valid API Key and Network ID combination. When making an API Request,use your API Key value for the NetworkToken parameter, and your Network ID for the NetworkId parameter.

加黑的是比较关键的两个参数  API Key = NetworkToken  , Network ID  =   NetworkId 。提取关键内容才是最重要的。这两个东西在support API 中。

Example Usage

  • Network ID is demo
  • API key is NETabc123
  • Request is Offer::findById
  • Offer ID is 42
  • Request URL:
    https://api.hasoffers.com/Api/json?NetworkId=demo&NetworkToken=NETabc123&Target=Offer&Method=findById&id=42
  • Sample Response:
    {
      "request": {
        ...collapsed JSON data
      },
      "response": {
        "status": 1,
        "httpStatus": 200,
        "data": {
          "Offer": {
            "id": "42",
            "name": "My Test Offer"
          }
        },
        "errors": [],
        "errorMessage": null
      }
    }

剩下的就是研究API了,好繁琐,基本上所有的接口都有了,好强大的,待我等慢慢嗅探。






目录
相关文章
|
5月前
|
机器学习/深度学习 人工智能 安全
【网安AIGC专题10.11】①代码大模型的应用:检测、修复②其安全性研究:模型窃取攻击(API和网页接口) 数据窃取攻击 对抗攻击(用途:漏洞隐藏) 后门攻击(加触发器+标签翻转)(下)
【网安AIGC专题10.11】①代码大模型的应用:检测、修复②其安全性研究:模型窃取攻击(API和网页接口) 数据窃取攻击 对抗攻击(用途:漏洞隐藏) 后门攻击(加触发器+标签翻转)
121 1
|
5月前
|
自然语言处理 安全 API
【网安AIGC专题10.11】①代码大模型的应用:检测、修复②其安全性研究:模型窃取攻击(API和网页接口) 数据窃取攻击 对抗攻击(用途:漏洞隐藏) 后门攻击(加触发器+标签翻转)(上)
【网安AIGC专题10.11】①代码大模型的应用:检测、修复②其安全性研究:模型窃取攻击(API和网页接口) 数据窃取攻击 对抗攻击(用途:漏洞隐藏) 后门攻击(加触发器+标签翻转)
161 0
|
6月前
|
存储 安全 API
API接口安全运营研究
近年来数据的价值逐渐凸显,数据应用场景不断拓展,数据交易持续增加。参与交易流通的数据类型从金融数据逐步扩展到医疗、交通、工业等多种类型的数据,数据需求方涉及公共服务、影视娱乐、交通、医疗、金融、广告营销等众多领域。然而,随着数据的集中汇聚及开放,数据共享面临着新的安全风险。相比传统的数据库层数据共享技术,当前大量数据通过各类API传输,传统的网络安全防护体系已经难以满足当前的数据安全保护需求,而针对API的安全防护和运营也引起了人们的高度关注。
|
10月前
|
存储 人工智能 缓存
GPT-4 API平替?性能媲美同时成本降低98%,斯坦福提出FrugalGPT,研究却惹争议
GPT-4 API平替?性能媲美同时成本降低98%,斯坦福提出FrugalGPT,研究却惹争议
|
负载均衡 安全 API
基于网关服务治理的研究与实践(四)API网关技术
API网关旨在对外提供针对所有API调用的统一入口,实现对微服务接口的统一接入、请求转发。API网关建立与各微服务的路由访问关系映射,并将客户端的请求转发至对应的后端服务实例。
1555 0
基于网关服务治理的研究与实践(四)API网关技术
|
API Android开发
Skia引擎API整理介绍(skia in Androi“.NET研究”d 2.3 trunk)
  序  通过google, baidu,我们都很难搜索到关于skia引擎方面的文档,skia的官方wiki(http://code.google.com/p/skia)也只有寥寥无几的文字简单介绍了SkCanvas, SkBitmap等几个主要的class,我通过分析源代码,查看jni接口对skia引擎的封装,总结和翻译了下面的一些文字,希望对想在Android平台进行native画图的朋友有所帮助,当然,你也可以直接使用OpenGL来画图。
1658 0
|
JavaScript 前端开发 API
高德地图JavaScript API开发研究
原文:高德地图JavaScript API开发研究 高德地图JavaScript API是一套用JavaScript 语言编写的应用程序接口,可以通过各种API接口向地图添加内容,创建功能丰富、交互性强的地图应用。
1607 0
|
算法 API 定位技术
去百度API的百度地图准确叠加和坐标转换的解决方案研究
原文:去百度API的百度地图准确叠加和坐标转换的解决方案研究 1.背景 目前项目上如果要使用百度地图,得加载百度的开发包,然后通过百度提供的接口来调用百度地图以及将需要标记的点显示在百度地图中等等。 此方案存在明显劣势: a.对原系统的破坏。
1425 0