Skip to main content

Minimalist Klout API interface.

Project description

Klout API

A minimalist klout API interface. Use of this API requires klout developer key. You can get registered and get a key at

<http://klout.com/s/developers/v2>

Complete documentation is available at:

<https://klout.readthedocs.org/en/latest/>

Quickstart

Install the PyPi package:

pip install Klout

This short example shows how to get a kloutId first and fetch user’s score using that kloutId:

from klout import *

# Make the Klout object
k = Klout('YOUR_KEY_HERE')

# Get kloutId of the user by inputting a twitter screenName
kloutId = k.identity.klout(screenName="erfaan").get('id')

# Get klout score of the user
score = k.user.score(kloutId=kloutId).get('score')

print "User's klout score is: %s" % (score)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Klout-0.1.0.zip (6.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page