Kred Score
Returns Kred Influence + Outreach by community for any Twitter @name.
Default community is currently set to the Global Kred Community. Update to specify communities will be released soon.
When adding Kred to your site, please follow the style guide provide here: Kred Style Guide
Endpoint: http://api.kred.com/kredscore
Request - Required Parameters
- app_id (STRING) - Eight Digit ID [ex: 84d8620b]
- app_key (STRING) - Thirty-two digit key [ex: 281014ad8b0fba5adcc88fac7d79999c]
- source (STRING) - source=twitter will return a user's kred score from Twitter; source=facebook will return kred score for user who has uploaded facebook; source=combined will return the combined kred score for users for both Facebook and Twitter.
- term (STRING) - Twitter @[name] or username. Must use only name. Example: term=pepsi; term=@pepsi will not return data.
Post app registration, your app id and key can be viewed by going to https://developer.peoplebrowsr.com/admin/applications and clicking "view"
Request - Sample URL
http://api.kred.com/kredscore?term=pepsi&source=twitter&app_id=****620b&app_key=*****4ad8b0fba5adcc88fac7d79999c
For batch calls, simply use a comma between user ids or user names:
http://api.kred.com/kredscore?term=pepsi,kred,peoplebrowsr,ebay,ogilvy&source=twitter&app_id=****620b&app_key=*****4ad8b0fba5adcc88fac7d79999c
Response:
Influence Score [#]; Name; Outreach Level [#]. Returns in JSON format.
Response - Fields
- Influence (STRING) - Influence score relative to community specified. Default is global influence score.
- Name (STRING) - Twitter @[name]
- Outreach (STRING) - Outreach level relative to community specified. Default is global outreach level.
Sample Response
{
"data": [
{
"influence": 773,
"name": "PeopleBrowsr",
"outreach": 7
}
],
"id": "999-9dce695d54ae685a4e8361ea1bfeae37",
"request": {
"app_id": "***05d51",
"app_key": "******144736e4cdd7759c448cdb82fa",
"external": true,
"name": "kredscore",
"source": "twitter",
"term": "peoplebrowsr"
},
"status": "complete"
}
Batch response:
{
"data": [
{
"influence": 966,
"name": "pepsi",
"outreach": 8
},
{
"influence": 797,
"name": "ogilvy",
"outreach": 6
},
{
"influence": 855,
"name": "kred",
"outreach": 7
},
{
"influence": 978,
"name": "ebay",
"outreach": 6
},
{
"influence": 776,
"name": "peoplebrowsr",
"outreach": 7
}
],
"id": "999-147bce2e156c923fea980560e6ba624b",
"request": {
"app_id": "******714",
"app_key": "********fd9858069ce3e7f9176f",
"external": true,
"name": "kredscore",
"source": "twitter",
"term": [
"pepsi",
"kred",
"peoplebrowsr",
"ebay",
"ogilvy"
]
},
"status": "complete"
}
PHP Code Sample
Python Code Sample
Ruby Code Sample
We are a High Tech Social Analytics Company with a passion for marketing.
Terms & Conditions
© 2012 PeopleBrowsr
© 2012 PeopleBrowsr