One is All App Api

一直用韩少的One,但是只有Android和IOS版本,其他平台的不是没有就是用起来不满意,so,早晨起床一时兴起,没有撸,反而干了一件掉节操的事情,感谢JD-Gui,感谢App团队没有混淆。。。

PS:数据中有些内容是HTML格式的,文档中都保留了其原始格式。有一点没想明白,为什么要用IP地址,万一哪天要换个服务器什么的。。。

One Homepage (One 首页):
url: http://211.152.49.184:7001/OneForWeb/one/getHpinfo
para: strDate = yyyy-mm-dd
e.g: http://211.152.49.184:7001/OneForWeb/one/getHpinfo?strDate=2013-08-17
intro: 获取首页数据
data:
{
    "result": "SUCCESS/FAIL",
    "message": "Description",
    "hpEntity": {
        "sWebLk": "http://hanhan.qq.com/hanhan/one/one314m.htm",
        "strLastUpdateDate": "2013-08-15 15:41:21",
        "strMarketTime": "2013-08-17",
        "strDayDiffer": "1",
        "strHpId": "330",
        "strHpTitle": "VOL.314",
        "strAuthor": "港湾&摄影/马德里小糖饼",
        "strContent": "浪荡天涯的孩子,忽晴忽雨的江湖,祝你有梦为马,永远随处可栖。by 大冰",
        "strOriginalImgUrl": "http://pic.yupoo.com/hanapp/D5dAKZtU/oy6O7.jpg",
        "strThumbnailUrl": "http://pic.yupoo.com/hanapp/D5dAKZtU/oy6O7.jpg"
    }
}

One Content (One 内容):
url: http://211.152.49.184:7001/OneForWeb/one/getOneContentInfo
para: strDate = yyyy-mm-dd
e.g: http://211.152.49.184:7001/OneForWeb/one/getOneContentInfo?strDate=2013-08-17
intro: 获取内容数据
data:
{
    "result": "SUCCESS/FAIL",
    "message": "Description",
    "contentEntity": {
        "sGW": "财色名食睡...",
        "sWebLk": "http://hanhan.qq.com/hanhan/one/one314m.htm#page1",
        "strLastUpdateDate": "2013-08-16 23:07:26",
        "strPraiseNumber": "4463",
        "strContAuthor": "大冰",
        "strContAuthorIntroduce": "(责任编辑:赵西栋)",
        "strContDayDiffer": "1",
        "strContMarketTime": "2013-08-17",
        "strContentId": "344",
        "strContTitle": "他们最幸福",
        "strContent": "
这是篇演讲稿...
\r\n
大冰,主持人、民谣歌手;微博ID:@大冰<\/b><\/div>"
    }
}

One Content (One 问题):
url: http://211.152.49.184:7001/OneForWeb/one/getOneQuestionInfo
para: strDate = yyyy-mm-dd
e.g: http://211.152.49.184:7001/OneForWeb/one/getOneQuestionInfo?strDate=2013-08-17
intro: 获取问题数据
data:
{
    "result": "SUCCESS/FAIL",
    "message": "Description",
    "questionAdEntity": {
        "sWebLk": "http://hanhan.qq.com/hanhan/one/one314m.htm#page2",
        "strDayDiffer": "1",
        "strLastUpdateDate": "2013-08-17 09:30:10",
        "strPraiseNumber": "2074",
        "strQuestionId": "325",
        "strQuestionMarketTime": "2013-08-17",
        "strQuestionTitle": "你想象中的天堂是什么样子的?"
        "strQuestionContent": "「一个」工作室问微信网友:有人把天堂想象成是一座图书馆...",
        "strAnswerTitle": "微信网友答「一个」工作室:",
        "strAnswerContent": "
Ym:雨从云里落下来...
\r\n...
(责任编辑:赵西栋)
",
    }
}

One Homepage (One 首页):
url: http://211.152.49.184:7001/OneForWeb/one/getHpAdMultiinfo
para:
e.g: http://211.152.49.184:7001/OneForWeb/one/getHpAdMultiinfo
intro: 获取5天的广告与首页数据
data:
{
    "result": "SUCCESS/FAIL",
    "message": "Description",
    "hpAdMulitEntity": {
        "lstEntAd": [
            {
                "strAd1280720url": "http://pic.yupoo.com/hanapp/CWfa9OMH/w4NHA.jpg",
                "strAd480320url": "http://pic.yupoo.com/hanapp/CWfa9OMH/w4NHA.jpg",
                "strAd800480url": "http://pic.yupoo.com/hanapp/CWfa9OMH/w4NHA.jpg",
                "strAd960540url": "http://pic.yupoo.com/hanapp/CWfa9OMH/w4NHA.jpg",
                "strAdFutureurl": "http://pic.yupoo.com/hanapp/CWfa9OMH/w4NHA.jpg",
                "strAdId": "21",
                "strAdLinkUrl": "http://www.sportq.com/download/sportq.apk",
                "strAdOrder": "1",
                "strCloseTime": "2013-08-31",
                "strMarketTime": "2013-08-01",
                "strType": "2"
            }
        ],
        "lstEntHp": [
            {
                "sWebLk": "http://hanhan.qq.com/hanhan/one/one314m.htm",
                "strAuthor": "港湾&摄影/马德里小糖饼",
                "strContent": "浪荡天涯的孩子,忽晴忽雨的江湖,祝你有梦为马,永远随处可栖。by 大冰",
                "strDayDiffer": "1",
                "strHpId": "330",
                "strHpTitle": "VOL.314",
                "strLastUpdateDate": "2013-08-15 15:41:21",
                "strMarketTime": "2013-08-17",
                "strOriginalImgUrl": "http://pic.yupoo.com/hanapp/D5dAKZtU/oy6O7.jpg",
                "strThumbnailUrl": "http://pic.yupoo.com/hanapp/D5dAKZtU/oy6O7.jpg"
            }
        ]
    }
}

最后来一个补节操的接口。。。

One WelcomeAd (One 闪屏广告):
url: http://211.152.49.184:7001/OneForWeb/one/getWelcomeAdInfo
para:
e.g: http://211.152.49.184:7001/OneForWeb/one/getWelcomeAdInfo
intro: 获取闪屏广告数据
data:
{
    "result": "SUCCESS/FAIL",
    "message": "Description",
    "str800480Url": "http://pic.yupoo.com/hanapp/CWfa8Tbt/NkjLs.jpg"
}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值