Kickstarter的是否有一个公共的API? [英] Does Kickstarter have a public API?

查看:148
本文介绍了Kickstarter的是否有一个公共的API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要寻找一个Kickstarter的API(但没有运气找到一个)。

我没有看到在github上刮的API,但是这不是真的是我要找的。

解决方案

不是真的(目前),但是他们有一个私人的方式使用自己的AJAX搜索功能来获得项目。使用:

http://www.kickstarter.com/projects/search.json?search=&term=TERM_HERE

结果( TERM_HERE =ASD

  {
    工程:
        {
            名:一个伪装的季节性释放和放大器; QUOT;水禽加拿大东部和放大器; QUOT;,
            ID:68646,
            card_html:< D​​IV CLASS = \\项目卡包\\> \\ n< D​​IV CLASS = \\项目卡\\> \\ n< D​​IV CLASS = \\项目的缩略图\\&GT ; \\ n<一href=\\\"https://www.kickstarter.com/projects/1560695581/a-seasonal-disguise-releases-waterfowl-of-eastern?ref=live\\\"目标= \\\\>< IMG ALT = \\光点点\\级= \\projectphoto-小\\HEIGHT = \\150 \\SRC = \\https://s3.amazonaws.com/ KSR /项目/ 68646 /照片little.jpg 1326348575 \\WIDTH = \\200 \\/>< / A> \\ n< / DIV> \\ n< H2> \\ n<强> \\ n<一href=\\\"https://www.kickstarter.com/projects/1560695581/a-seasonal-disguise-releases-waterfowl-of-eastern?ref=live\\\"目标= \\\\>一种季节性伪装释放和放大器; QUOT;水禽加拿大东部和放大器; QUOT;< / A> \\ n< / STRONG> \\ n<跨度方式> \\ NBY \\ nZ.V众议院\\ n< / SPAN> \\ n< / H> \\ n< p>在漫长的三年ASD将发布另一张专辑和去巡演,他们是穷人,需要你的帮助和LT;!/ p> \\ n< UL类= \\ 项目的元\\> \\ n<李> \\ n< A HREF = \\?/发现/城市/博伊西-ID REF =卡\\目标= \\\\><跨度类= \\图标位置\\>< / SPAN> \\ n<跨度类= \\位置名\\>博伊西,ID< / SPAN> \\ n< / A>< /李> \\ n< / UL&GT ; \\ n< D​​IV class=\\\"project-pledged-successful\\\">\
<strong>Successful!</strong>\
</div>\
<div类= \\项目承诺换行\\的风格= \\显示:无; \\&GT; \\ n&LT; D​​IV CLASS = \\项目承诺\\的风格= \\宽度:100%\\&GT;&LT; / DIV&GT; \\ n&LT; / DIV&GT; \\ n&LT; UL类= \\项目统计\\&GT; \\ n&LT;李类= \\先出资\\&GT; \\ n&LT;强→100%LT; / STRONG&GT; \\ nfunded \\ n&LT; /李&GT; \\ n&LT;李类= \\承诺\\&GT; \\ n&LT;强&GT; $ 2,007&LT; / STRONG&GT; \\ npledged \\ n&LT; /李&GT; \\ n&LT;李类= \\最后一次成功\\&GT; \\ n&LT;强&GT;资助&LT; / STRONG&GT; \\ n&LT; D​​IV CLASS = \\期限\\&GT; \\ nMar 09,2012 \\ n&LT; / DIV&GT; \\ n&LT; /李&GT; \\ n&LT;李类= \\最后ksr_page_timer \\数据END_TIME = \\2012-03-09T09:04:47Z \\的风格= \\显示:无; \\&GT; \\ n&LT;强&GT; \\ n&LT; D​​IV CLASS = \\NUM \\ &GT;&安培; NBSP;&LT; / DIV&GT; \\ n&LT; / STRONG&GT; \\ n&LT; D​​IV CLASS = \\跨文\\ data-word=\\\"left\\\">&nbsp;</div>\
</li>\
</ul>\
\
</div>\
</div>\
\"
        }
    ]
    类别:[],
    位置:[],
    头:项目匹配\\ASD \\
}

presuming你知道项目正是你想要的仍然需要,你可以得到基本的信息,但HTML解析一定量的细节。

很抱歉的缺乏答案,但是这可能是一些使用的人的。


小更新

benrugg 已经列出了一些其他端点在以上的在github此评论

I am looking for a kickstarter API (but had no luck finding one).

I did see a scraping API on github, but that's not really what I'm looking for.

解决方案

Not really (currently!), but they do have a private way to get projects using their ajax search functionality. Using:

http://www.kickstarter.com/projects/search.json?search=&term=TERM_HERE

results (TERM_HERE = "asd"):

{
    "projects": [
        {
            "name": "A Seasonal Disguise releases &quot;Waterfowl Of Eastern Canada&quot;",
            "id": 68646,
            "card_html": "<div class=\"project-card-wrap\">\n<div class=\"project-card\">\n<div class=\"project-thumbnail\">\n<a href=\"https://www.kickstarter.com/projects/1560695581/a-seasonal-disguise-releases-waterfowl-of-eastern?ref=live\" target=\"\"><img alt=\"Photo-little\" class=\"projectphoto-little\" height=\"150\" src=\"https://s3.amazonaws.com/ksr/projects/68646/photo-little.jpg?1326348575\" width=\"200\" /></a>\n</div>\n<h2>\n<strong>\n<a href=\"https://www.kickstarter.com/projects/1560695581/a-seasonal-disguise-releases-waterfowl-of-eastern?ref=live\" target=\"\">A Seasonal Disguise releases &quot;Waterfowl Of Eastern Canada&quot;</a>\n</strong>\n<span>\nby\nZ.V. House\n</span>\n</h2>\n<p>After three long years ASD is releasing another full length album and going on tour. They are poor and need your help!</p>\n<ul class=\"project-meta\">\n<li>\n<a href=\"/discover/cities/boise-id?ref=card\" target=\"\"><span class=\"icon-location\"></span>\n<span class=\"location-name\">Boise, ID</span>\n</a></li>\n</ul>\n<div class=\"project-pledged-successful\">\n<strong>Successful!</strong>\n</div>\n<div class=\"project-pledged-wrap\" style=\"display: none;\">\n<div class=\"project-pledged\" style=\"width: 100%\"></div>\n</div>\n<ul class=\"project-stats\">\n<li class=\"first funded\">\n<strong>100%</strong>\nfunded\n</li>\n<li class=\"pledged\">\n<strong>$2,007</strong>\npledged\n</li>\n<li class=\"last successful\">\n<strong>Funded</strong>\n<div class=\"deadline\">\nMar 09, 2012\n</div>\n</li>\n<li class=\"last ksr_page_timer\" data-end_time=\"2012-03-09T09:04:47Z\" style=\"display: none;\">\n<strong>\n<div class=\"num\">&nbsp;</div>\n</strong>\n<div class=\"span text\" data-word=\"left\">&nbsp;</div>\n</li>\n</ul>\n\n</div>\n</div>\n"
        }
    ],
    "categories": [],
    "locations": [],
    "header": "Projects matching \"asd\""
}

Presuming you know exactly what project you want details on, you can get basic information but some amount of HTML parsing would still be needed.

Sorry for the lacking answer, but this may be of some use to someone.


Small Update

benrugg has listed a few other endpoints over in this comment on github.

这篇关于Kickstarter的是否有一个公共的API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆