/
klout.json
156 lines (156 loc) · 6.44 KB
/
klout.json
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"auth": {
"key": {
"param": "key"
}
},
"basePath": "http://api.klout.com",
"name": "Partner API v2",
"protocol": "rest",
"publicPath": "/v2",
"version": "2.0",
"resources": {
"Identity Methods": {
"methods": {
"IdentityGoogle": {
"description": "This method allows you to retrieve a KloutID for numeric google_plus_id",
"httpMethod": "GET",
"name": "Identity(Google+)",
"parameters": {
"google_plus_id": {
"default": "112620727907435773834",
"description": "A Google+ ID (e.g. 112620727907435773834)",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "/identity.json/gp/{google_plus_id}"
},
"IdentityInstagram": {
"description": "This method allows you to retrieve a KloutID for numeric Instagram_id",
"httpMethod": "GET",
"name": "Identity(Instagram)",
"parameters": {
"instagram_id": {
"default": "816029",
"description": "An Instagram ID (e.g. 816029)",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "/identity.json/ig/{instagram_id}"
},
"IdentityTwitter": {
"description": "This method allows you to retrieve a KloutID for numeric twitter_id",
"httpMethod": "GET",
"name": "Identity (Twitter)",
"parameters": {
"twitter_id": {
"default": "500042487",
"description": "A twitter ID (e.g. 500042487)",
"required": true,
"type": "string"
}
},
"path": "/identity.json/tw/{twitter_id}"
},
"IdentitykloutId": {
"description": "This method allows you to retrieve a TwitterId for a numeric KloutId",
"httpMethod": "GET",
"name": "Identity(kloutId)",
"parameters": {
"klout_id": {
"default": "635263",
"description": "A KloutId (like 635263)",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "/identity.json/klout/{klout_id}/tw"
},
"Identitytwitter_screen_name": {
"description": "This method allows you to retrieve a KloutID for a twitter screen_name",
"httpMethod": "GET",
"name": "Identity(twitter_screen_name)",
"parameters": {
"screenName": {
"default": "jtimberlake",
"description": "A twitter screen name (e.g. jtimberlake)",
"location": "query",
"required": true,
"type": "string"
}
},
"path": "/identity.json/twitter"
}
}
},
"User Methods": {
"methods": {
"Influence": {
"description": "This method allows you to retrieve a user's influencers and influencees.",
"httpMethod": "GET",
"name": "Influence",
"parameters": {
"kloutId": {
"default": "635263",
"description": "A kloutId (like 635263)",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "/user.json/{kloutId}/influence"
},
"Score": {
"description": "This method allows you to retrieve a user's Klout Score and deltas.",
"httpMethod": "GET",
"name": "Score",
"parameters": {
"kloutId": {
"default": "635263",
"description": "A kloutId (like 635263)",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "/user.json/{kloutId}/score"
},
"ShowUser": {
"description": "This method allows you to retrieve a user.",
"httpMethod": "GET",
"name": "Show User",
"parameters": {
"kloutId": {
"default": "635263",
"description": "A kloutId (like 635263)",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "/user.json/{kloutId}"
},
"Topics": {
"description": "This method allows you to retrieve a user's topics.",
"httpMethod": "GET",
"name": "Topics",
"parameters": {
"kloutId": {
"default": "635263",
"description": "A kloutId (like 635263)",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "/user.json/{kloutId}/topics"
}
}
}
}
}