C# Class GeeklistSharp.Service.GeeklistService

Show file Open project: barranger/GeeklistSharp Class Usage Examples

Public Methods

Method Description
AuthenticateWith ( string token, string tokenSecret ) : void
CreateCard ( string headline ) : Card
CreateCardAsync ( Action callback, string headline ) : void
CreateMicro ( string status ) : Micro
CreateMicro ( string type, string inReplyTo, string status ) : Micro
CreateMicroAsync ( Action callback, string status ) : void
CreateMicroAsync ( Action callback, string type, string inReplyTo, string status ) : void
CreateOAuthRequestTokenFromResponse ( Hammock response ) : GeeklistSharp.Model.OAuthRequestToken
FollowUser ( string userId ) : void
FollowUserAsync ( Action callback, string userId ) : void
GeeklistService ( string consumerKey, string consumerSecret, string callback = "oob" ) : System
GetAccessToken ( GeeklistSharp.Model.OAuthRequestToken requestToken, string verifyer ) : GeeklistSharp.Model.OAuthAccessToken
GetAccessTokenAsync ( Action callback, GeeklistSharp.Model.OAuthRequestToken requestToken, string verifyer ) : void
GetAllActivities ( ) : List
GetAllActivities ( int page, int count ) : List
GetAllActivitiesAsync ( Action callback ) : void
GetAllActivitiesAsync ( Action callback, int page, int count ) : void
GetAuthorizationUrl ( string token ) : Uri
GetCard ( string id ) : Card
GetCardAsync ( Action callback, string id ) : void
GetCurrentUsersActivities ( ) : GeeklistSharp.Model.Card[]
GetCurrentUsersActivities ( int page, int count ) : GeeklistSharp.Model.Card[]
GetCurrentUsersActivitiesAsync ( Action callback ) : void
GetCurrentUsersActivitiesAsync ( Action callback, int page, int count ) : void
GetCurrentUsersCards ( ) : GeeklistSharp.Model.CardData
GetCurrentUsersCards ( int page, int count ) : GeeklistSharp.Model.CardData
GetCurrentUsersCardsAsync ( Action callback ) : void
GetCurrentUsersCardsAsync ( Action callback, int page, int count ) : void
GetCurrentUsersMicros ( ) : MicroData
GetCurrentUsersMicros ( int page, int count ) : MicroData
GetCurrentUsersMicrosAsync ( Action callback ) : void
GetCurrentUsersMicrosAsync ( Action callback, int page, int count ) : void
GetFollowers ( ) : FollowersData
GetFollowers ( string user ) : FollowersData
GetFollowers ( string user, int page, int count ) : FollowersData
GetFollowersAsync ( Action callback ) : void
GetFollowersAsync ( Action callback, string user ) : void
GetFollowersAsync ( Action callback, string user, int page, int count ) : void
GetFollowing ( ) : FollowingData
GetFollowing ( string user ) : FollowingData
GetFollowing ( string user, int page, int count ) : FollowingData
GetFollowingAsync ( Action callback ) : void
GetFollowingAsync ( Action callback, string user ) : void
GetFollowingAsync ( Action callback, string user, int page, int count ) : void
GetMicro ( string id ) : Micro
GetMicroAsync ( Action callback, string id ) : void
GetRequestToken ( ) : GeeklistSharp.Model.OAuthRequestToken
GetUser ( string name = null ) : User
GetUserAsync ( Action callback, string name = null ) : void
GetUsersActivities ( string userName ) : List
GetUsersActivities ( string userName, int page, int count ) : List
GetUsersActivitiesAsync ( Action callback, string userName ) : void
GetUsersActivitiesAsync ( Action callback, string userName, int page, int count ) : void
GetUsersCards ( string userName ) : GeeklistSharp.Model.CardData
GetUsersCards ( string userName, int page, int count ) : GeeklistSharp.Model.CardData
GetUsersCardsAsync ( Action callback, string userName ) : void
GetUsersCardsAsync ( Action callback, string userName, int page, int count ) : void
HighfiveItem ( string id, string type ) : object
HighfiveItemAsync ( Action callback, string id, string type ) : void
UnFollowUser ( string userId ) : void
UnFollowUserAsync ( Action callback, string userId ) : void

Private Methods

Method Description
CreateAccessTokenRequest ( string verifyer ) : Hammock.RestRequest
CreateGetCurrentUsersCardsRestRequest ( int page, int count ) : Hammock.RestRequest
CreateGetUsersCardsRestRequest ( string userName, int page, int count ) : Hammock.RestRequest

Method Details

AuthenticateWith() public method

public AuthenticateWith ( string token, string tokenSecret ) : void
token string
tokenSecret string
return void

CreateCard() public method

public CreateCard ( string headline ) : Card
headline string
return GeeklistSharp.Model.Card

CreateCardAsync() public method

public CreateCardAsync ( Action callback, string headline ) : void
callback Action
headline string
return void

CreateMicro() public method

public CreateMicro ( string status ) : Micro
status string
return GeeklistSharp.Model.Micro

CreateMicro() public method

public CreateMicro ( string type, string inReplyTo, string status ) : Micro
type string
inReplyTo string
status string
return GeeklistSharp.Model.Micro

CreateMicroAsync() public method

public CreateMicroAsync ( Action callback, string status ) : void
callback Action
status string
return void

CreateMicroAsync() public method

public CreateMicroAsync ( Action callback, string type, string inReplyTo, string status ) : void
callback Action
type string
inReplyTo string
status string
return void

CreateOAuthRequestTokenFromResponse() public static method

public static CreateOAuthRequestTokenFromResponse ( Hammock response ) : GeeklistSharp.Model.OAuthRequestToken
response Hammock
return GeeklistSharp.Model.OAuthRequestToken

FollowUser() public method

public FollowUser ( string userId ) : void
userId string
return void

FollowUserAsync() public method

public FollowUserAsync ( Action callback, string userId ) : void
callback Action
userId string
return void

GeeklistService() public method

public GeeklistService ( string consumerKey, string consumerSecret, string callback = "oob" ) : System
consumerKey string
consumerSecret string
callback string
return System

GetAccessToken() public method

public GetAccessToken ( GeeklistSharp.Model.OAuthRequestToken requestToken, string verifyer ) : GeeklistSharp.Model.OAuthAccessToken
requestToken GeeklistSharp.Model.OAuthRequestToken
verifyer string
return GeeklistSharp.Model.OAuthAccessToken

GetAccessTokenAsync() public method

public GetAccessTokenAsync ( Action callback, GeeklistSharp.Model.OAuthRequestToken requestToken, string verifyer ) : void
callback Action
requestToken GeeklistSharp.Model.OAuthRequestToken
verifyer string
return void

GetAllActivities() public method

public GetAllActivities ( ) : List
return List

GetAllActivities() public method

public GetAllActivities ( int page, int count ) : List
page int
count int
return List

GetAllActivitiesAsync() public method

public GetAllActivitiesAsync ( Action callback ) : void
callback Action
return void

GetAllActivitiesAsync() public method

public GetAllActivitiesAsync ( Action callback, int page, int count ) : void
callback Action
page int
count int
return void

GetAuthorizationUrl() public method

public GetAuthorizationUrl ( string token ) : Uri
token string
return System.Uri

GetCard() public method

public GetCard ( string id ) : Card
id string
return GeeklistSharp.Model.Card

GetCardAsync() public method

public GetCardAsync ( Action callback, string id ) : void
callback Action
id string
return void

GetCurrentUsersActivities() public method

public GetCurrentUsersActivities ( ) : GeeklistSharp.Model.Card[]
return GeeklistSharp.Model.Card[]

GetCurrentUsersActivities() public method

public GetCurrentUsersActivities ( int page, int count ) : GeeklistSharp.Model.Card[]
page int
count int
return GeeklistSharp.Model.Card[]

GetCurrentUsersActivitiesAsync() public method

public GetCurrentUsersActivitiesAsync ( Action callback ) : void
callback Action
return void

GetCurrentUsersActivitiesAsync() public method

public GetCurrentUsersActivitiesAsync ( Action callback, int page, int count ) : void
callback Action
page int
count int
return void

GetCurrentUsersCards() public method

public GetCurrentUsersCards ( ) : GeeklistSharp.Model.CardData
return GeeklistSharp.Model.CardData

GetCurrentUsersCards() public method

public GetCurrentUsersCards ( int page, int count ) : GeeklistSharp.Model.CardData
page int
count int
return GeeklistSharp.Model.CardData

GetCurrentUsersCardsAsync() public method

public GetCurrentUsersCardsAsync ( Action callback ) : void
callback Action
return void

GetCurrentUsersCardsAsync() public method

public GetCurrentUsersCardsAsync ( Action callback, int page, int count ) : void
callback Action
page int
count int
return void

GetCurrentUsersMicros() public method

public GetCurrentUsersMicros ( ) : MicroData
return GeeklistSharp.Model.MicroData

GetCurrentUsersMicros() public method

public GetCurrentUsersMicros ( int page, int count ) : MicroData
page int
count int
return GeeklistSharp.Model.MicroData

GetCurrentUsersMicrosAsync() public method

public GetCurrentUsersMicrosAsync ( Action callback ) : void
callback Action
return void

GetCurrentUsersMicrosAsync() public method

public GetCurrentUsersMicrosAsync ( Action callback, int page, int count ) : void
callback Action
page int
count int
return void

GetFollowers() public method

public GetFollowers ( ) : FollowersData
return FollowersData

GetFollowers() public method

public GetFollowers ( string user ) : FollowersData
user string
return FollowersData

GetFollowers() public method

public GetFollowers ( string user, int page, int count ) : FollowersData
user string
page int
count int
return FollowersData

GetFollowersAsync() public method

public GetFollowersAsync ( Action callback ) : void
callback Action
return void

GetFollowersAsync() public method

public GetFollowersAsync ( Action callback, string user ) : void
callback Action
user string
return void

GetFollowersAsync() public method

public GetFollowersAsync ( Action callback, string user, int page, int count ) : void
callback Action
user string
page int
count int
return void

GetFollowing() public method

public GetFollowing ( ) : FollowingData
return FollowingData

GetFollowing() public method

public GetFollowing ( string user ) : FollowingData
user string
return FollowingData

GetFollowing() public method

public GetFollowing ( string user, int page, int count ) : FollowingData
user string
page int
count int
return FollowingData

GetFollowingAsync() public method

public GetFollowingAsync ( Action callback ) : void
callback Action
return void

GetFollowingAsync() public method

public GetFollowingAsync ( Action callback, string user ) : void
callback Action
user string
return void

GetFollowingAsync() public method

public GetFollowingAsync ( Action callback, string user, int page, int count ) : void
callback Action
user string
page int
count int
return void

GetMicro() public method

public GetMicro ( string id ) : Micro
id string
return GeeklistSharp.Model.Micro

GetMicroAsync() public method

public GetMicroAsync ( Action callback, string id ) : void
callback Action
id string
return void

GetRequestToken() public method

public GetRequestToken ( ) : GeeklistSharp.Model.OAuthRequestToken
return GeeklistSharp.Model.OAuthRequestToken

GetUser() public method

public GetUser ( string name = null ) : User
name string
return GeeklistSharp.Model.User

GetUserAsync() public method

public GetUserAsync ( Action callback, string name = null ) : void
callback Action
name string
return void

GetUsersActivities() public method

public GetUsersActivities ( string userName ) : List
userName string
return List

GetUsersActivities() public method

public GetUsersActivities ( string userName, int page, int count ) : List
userName string
page int
count int
return List

GetUsersActivitiesAsync() public method

public GetUsersActivitiesAsync ( Action callback, string userName ) : void
callback Action
userName string
return void

GetUsersActivitiesAsync() public method

public GetUsersActivitiesAsync ( Action callback, string userName, int page, int count ) : void
callback Action
userName string
page int
count int
return void

GetUsersCards() public method

public GetUsersCards ( string userName ) : GeeklistSharp.Model.CardData
userName string
return GeeklistSharp.Model.CardData

GetUsersCards() public method

public GetUsersCards ( string userName, int page, int count ) : GeeklistSharp.Model.CardData
userName string
page int
count int
return GeeklistSharp.Model.CardData

GetUsersCardsAsync() public method

public GetUsersCardsAsync ( Action callback, string userName ) : void
callback Action
userName string
return void

GetUsersCardsAsync() public method

public GetUsersCardsAsync ( Action callback, string userName, int page, int count ) : void
callback Action
userName string
page int
count int
return void

HighfiveItem() public method

public HighfiveItem ( string id, string type ) : object
id string
type string
return object

HighfiveItemAsync() public method

public HighfiveItemAsync ( Action callback, string id, string type ) : void
callback Action
id string
type string
return void

UnFollowUser() public method

public UnFollowUser ( string userId ) : void
userId string
return void

UnFollowUserAsync() public method

public UnFollowUserAsync ( Action callback, string userId ) : void
callback Action
userId string
return void