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了,好繁琐,基本上所有的接口都有了,好强大的,待我等慢慢嗅探。

hasoffers API 研究相关推荐

  1. java反射api研究_深入研究Java 8中的可选类API

    java反射api研究 作为Java程序员,我们所有人都经历了以下情况:我们调用一个方法来获取某个值,然后代替直接对返回值调用某些方法,我们首先必须检查返回值是否不为null,然后在返回值. 这是像G ...

  2. Linux系统接口ioc,Linux下SCSI API研究及应用

    Linux下SCSI API研究及应用 Linux SCSI体系结构及API数据结构的操作原理和相关的系统调用,运用SCSI API实现了有关的数据存储. 关键词: SCSI通用驱动器  SCSI接口 ...

  3. Google Doc API研究之一:模拟页面上传任意类型文件

    一直以来想要做个程序,将google doc用作网盘,程序做 的差不多了才发现不是所有的人都可以上传任意类型的文件,只有商业用户才可以.商业用户是要交钱的的,这与我们倡导的免费精神相关太远.怎么办,我 ...

  4. 无法检测的新型 Linux 恶意软件利用 Dogecoin API 攻击 Docker 服务器

     聚焦源代码安全,网罗国内外最新资讯! 编译:奇安信代码卫士团队 虽然Linux 恶意软件曾位于恶意软件生态系统的边缘位置,但如今每周都会发现新型 Linux 威胁. Intezer 实验室发布报告称 ...

  5. java:数据结构(二)栈的应用(进制转换全收集)

    说到进制转换,java已经封装了基本的方法,在竞赛中使用封装的方法自然能节省大量时间 另一位仁兄介绍的封装好的方法: https://blog.csdn.net/m0_37961948/article ...

  6. 用g.raphael.js高速绘制饼图、柱状图、点状图、折线图(下)

    首先,这里有个g.raphael.js的范例文章,可以直接看,我就不转载了: http://www.cnblogs.com/lhb25/archive/2013/01/09/gRaphael-java ...

  7. WinSock网络编程实用宝典(一)

    一.TCP/IP 体系结构与特点    1.TCP/IP体系结构   TCP/IP协议实际上就是在物理网上的一组完整的网络协议.其中TCP是提供传输层服务,而IP则是提供网络层服务.TCP/IP包括以 ...

  8. Apache James使用的方法及相关心得(转)

    经过一番的辛苦努力,终于把James 配置搞定啦,好记性不如烂笔头啊,赶紧记下我的成功经过,以备以后查阅! 首先要做的就是配置域名的MX 记录啦: 先添加一条A记录: mail.abc.com 指向 ...

  9. 两款JSON类库Jackson与JSON-lib的性能对比(新增第三款测试)

    本篇文章主要介绍了"两款JSON类库Jackson与JSON-lib的性能对比(新增第三款测试)",主要涉及到两款JSON类库Jackson与JSON-lib的性能对比(新增第三款 ...

最新文章

  1. /* * 编程题第五题(20分): 本题要求你写个程序把给定的符号打印成沙漏的形状。例如给定17个“*”,要求按下列格式打印 ***** *** * *** ***** 所谓“
  2. 限量报名 | 计算机视觉、AI语音专场,腾讯教你做AI商业化实践
  3. Android非空格式验证框架Validation的使用---第三方库学习笔记(四)
  4. 查询某个字段的记录是否包含中文或者是否是数字
  5. 神经网络中快速傅立叶变换(FFT)的梯度传递
  6. python编程教学视频-【科研资源03】最全Python编程全套系统视频学习教程
  7. Java:多线程,线程池,用Executors静态工厂生成常用线程池
  8. 与,或,非,异或进行位运算的总结
  9. 大疆御air2怎么看经纬度_人人都能拍大片的无人机 – 大疆御 Mavic Air 2 评测
  10. Miller_Rabin 米勒拉宾概率筛【模板】
  11. 【泡泡机器人翻译专栏】LSD-SLAM : 基于直接法的大范围单目即时定位和地图构建方法
  12. 最新的JavaScript知识总结,欢迎各位大佬指正,需要的留下邮箱,给你们发原稿(PDF版)...
  13. R语言极值理论 EVT、POT超阈值、GARCH 模型分析股票指数VaR、条件CVaR:多元化投资组合预测风险测度分析
  14. mfc中StretchBlt缩放图像失真问题【zozo】
  15. 四十七、使用bootstrap中的选项卡制作产品特色页面
  16. 8月英语——知耻而后勇
  17. 趣味测评对话交互版流量主小程序开发
  18. 【HoloLens2】HoloLens中如何操控自制的3D模型(移动、缩放、旋转)
  19. 清理 Snapd以释放磁盘空间
  20. 普通人怎样投资区块链

热门文章

  1. python 生成器 迭代器 区别_Python生成器和迭代器的区别
  2. java连接远程带有密码的mongodb数据库
  3. Wide character in print at ../lib/MonWalkProc.pm line 569.
  4. iOS开发使用UIKeyInput自定义密码输入框
  5. spring boot 处理自定义注解
  6. 我对无服务器架构的一些看法
  7. 使用Android简单实现有道电子词典
  8. 风云再起-后IOE时代的Oracle架构变迁与创新-V3
  9. Struts2,在Action中使用session
  10. Juniper防火墙透明模式