forked from smudge/kickstarter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
50 lines (36 loc) · 1.05 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Kickstart
a simple API for Kickstarter.com
Usage:
projects = Kickstarter.by_category(:games, :page => 1)
# => returns back an array of projects from page 1
projects = Kickstarter.by_list(:ending_soon, :page => 2, :pages => 3)
# => returns back an array of 3 pages worth of projects, starting from page 2
A Kickstarter::Project has the following attributes:
.name
.handle
.description
.url
.owner
.email
.thumbnail_url
.pledge_amount
.pledge_percent
.pledge_deadline
The following attributes will prompt a load of the project's details page:
.pledge_goal
.short_url
.about
.tiers (returns array of Kickstart::Tier objects)
A Kickstarter::Tier has the following attributes:
.minimum_pledge
.backer_count
.description
.limited
.limited_max
.limited_remaining
.estimated_delivery
Options:
:page => X # which page number of results to return. May be empty
:pages => Y # number of pages worth of results. Don't be stupid and request too many pages...
future:
* support filter by pledge_amount