Pri*_*ner 35
不是真的(目前!),但他们确实有一种私有的方式来使用他们的ajax搜索功能来获取项目.使用:
http://www.kickstarter.com/projects/search.json?search=&term=TERM_HERE
结果(TERM_HERE = "asd"):
{
"projects": [
{
"name": "A Seasonal Disguise releases "Waterfowl Of Eastern Canada"",
"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 "Waterfowl Of Eastern Canada"</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\"> </div>\n</strong>\n<div class=\"span text\" data-word=\"left\"> </div>\n</li>\n</ul>\n\n</div>\n</div>\n"
}
],
"categories": [],
"locations": [],
"header": "Projects matching \"asd\""
}
Run Code Online (Sandbox Code Playgroud)
假设您确切知道您想要详细说明的项目,您可以获得基本信息,但仍需要一些HTML解析.
很抱歉没有答案,但这可能对某人有用.
小更新
ben*_*ugg 11
Kickstarter确实有一个API,但它目前是私有的,没有文档.我的猜测是他们为自己的内部使用创建了它,所以他们可以让他们的网站和iPhone应用程序以统一的方式绑定到数据中.
虽然API还没有公开宣布,但它已经稳定并且工作了几个月.使用有效的Kickstarter用户帐户,您可以查询其API以获取项目,类别,评论,奖励等.
你提到的抓取库是Mark Olson创建的Ruby gem,我为此做出了贡献.虽然这显然与Kickstarter的公共/文档化API不同,但它是Kickstarter当前私有API可用的概念的良好证明.这里是为了文档而链接到该库:https://github.com/markolson/kickscraper
此外,这是一个维基页面,显示我们在查询项目时返回API的文档:https://github.com/markolson/kickscraper/wiki/Project
显然他们有一个内部API,也可以在外面使用.当然没有记录,也不是正式的,所以我想这可能会在任何时候停止工作,但我想你可能会觉得这很有趣:
http://syntaxi.net/2013/03/24/let-s-explore-kickstarter-s-api/