| Modifier and Type | -Constant Field | -Value | -
|---|---|---|
-
-public static final java.lang.String |
-GOOGLE_PLUS |
-"gp" |
-
-
-public static final java.lang.String |
-INSTAGRAM |
-"ig" |
-
-
-public static final java.lang.String |
-KLOUT |
-"klout" |
-
-
-public static final java.lang.String |
-TWITTER |
-"tw" |
-
-
-public static final java.lang.String |
-TWITTER_SCREEN_NAME |
-"screenName" |
-
Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
-Each annotation type has its own separate page with the following sections:
-Each enum has its own separate page with the following sections:
-Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-These links take you to the next or previous class, interface, package, or related page.
-These links show and hide the HTML frames. All pages are available with or without frames.
-The All Classes link shows all classes and interfaces except non-static nested types.
-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
-The Constant Field Values page lists the static final fields and their values.
-public class Klout
-extends java.lang.Object
-| Modifier and Type | -Field and Description | -
|---|---|
static java.lang.String |
-GOOGLE_PLUS |
-
static java.lang.String |
-INSTAGRAM |
-
static java.lang.String |
-KLOUT |
-
static java.lang.String |
-TWITTER |
-
static java.lang.String |
-TWITTER_SCREEN_NAME |
-
| Constructor and Description | -
|---|
Klout(java.lang.String key)
-Initializes the Klout object with the api key provided.
- |
-
| Modifier and Type | -Method and Description | -
|---|---|
java.lang.String[] |
-getIdentity(java.lang.String id,
- java.lang.String type)
-Retrieves the id and network of the specified type.
- |
-
User |
-getUser(java.lang.String kloutId)
-Retrieves a User object with the specified kloutId.
- |
-
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final java.lang.String TWITTER-
public static final java.lang.String GOOGLE_PLUS-
public static final java.lang.String INSTAGRAM-
public static final java.lang.String KLOUT-
public static final java.lang.String TWITTER_SCREEN_NAME-
public Klout(java.lang.String key)-
key - your api keypublic java.lang.String[] getIdentity(java.lang.String id, - java.lang.String type) - throws java.lang.Exception-
id - social network idtype - classification of idjava.lang.Exceptionpublic User getUser(java.lang.String kloutId) - throws java.lang.Exception-
kloutId - klout id of userjava.lang.Exceptionpublic class Topic
-extends java.lang.Object
-| Modifier and Type | -Field and Description | -
|---|---|
java.lang.String |
-display_name |
-
java.lang.String |
-displayType |
-
java.lang.String |
-id |
-
java.lang.String |
-imageUrl |
-
java.lang.String |
-name |
-
java.lang.String |
-slug |
-
java.lang.String |
-topicType |
-
| Constructor and Description | -
|---|
Topic(java.lang.String id,
- java.lang.String display_name,
- java.lang.String name,
- java.lang.String slug,
- java.lang.String image_url,
- java.lang.String displayType,
- java.lang.String topicType)
-Constructs topic object.
- |
-
public final java.lang.String id-
public final java.lang.String display_name-
public final java.lang.String name-
public final java.lang.String slug-
public final java.lang.String imageUrl-
public final java.lang.String displayType-
public final java.lang.String topicType-
public Topic(java.lang.String id, - java.lang.String display_name, - java.lang.String name, - java.lang.String slug, - java.lang.String image_url, - java.lang.String displayType, - java.lang.String topicType)-
id - display_name - name - slug - image_url - displayType - topicType - public class User
-extends java.lang.Object
-| Constructor and Description | -
|---|
User(java.lang.String id,
- java.lang.String api_key)
-Parses JSON of the user given by the klout id and stores in fields.
- |
-
| Modifier and Type | -Method and Description | -
|---|---|
java.lang.String |
-bucket()
-Returns bucket of score.
- |
-
double |
-dayChange()
-Returns day change in score.
- |
-
User[] |
-getInfluencees()
-Returns User[] of influencees.
- |
-
User[] |
-getInfluencers()
-Returns User[] of influencers.
- |
-
Topic[] |
-getTopics()
-Retrieves topics of this user.
- |
-
java.lang.String |
-kloutid()
-Returns klout id.
- |
-
double |
-monthChange()
-Returns month change in score.
- |
-
java.lang.String |
-nick()
-Returns nick name of user.
- |
-
double |
-score()
-Returns score.
- |
-
double |
-weekChange()
-Returns week change in score.
- |
-
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic User(java.lang.String id, - java.lang.String api_key) - throws java.lang.Exception-
id - klout id of userapi_key - your api keyjava.lang.Exceptionpublic java.lang.String kloutid()-
public java.lang.String nick()-
public double score()-
public java.lang.String bucket()-
public double dayChange()-
public double weekChange()-
public double monthChange()-
public Topic[] getTopics() - throws java.lang.Exception-
java.lang.Exceptionpublic User[] getInfluencers() - throws java.lang.Exception-
java.lang.Exceptionpublic User[] getInfluencees() - throws java.lang.Exception-
java.lang.Exception| Modifier and Type | -Method and Description | -
|---|---|
User[] |
-User.getInfluencees()
-Returns User[] of influencees.
- |
-
User[] |
-User.getInfluencers()
-Returns User[] of influencers.
- |
-
User |
-Klout.getUser(java.lang.String kloutId)
-Retrieves a User object with the specified kloutId.
- |
-
| Class | -Description | -
|---|---|
| Klout | -
- This serves as a Klout Java/Android API Wrapper.
- |
-
| Topic | -
- The topic class stores all the information given by the Klout API
- of a topic.
- |
-
| User | -
- The User class stores all the information pertaining to a klout id user.
- |
-