Méthode | Description | |
---|---|---|
GetGallery ( String section, String sort, System.Boolean Viral, |
|
|
GetSubRedditGallery ( String Subreddit, String Sort, |
||
RefreshOAuth ( DataLayer Token ) : DataLayer.OAuthToken | ||
logIn ( string username, String OAuth = null ) : DataLayer.ImgurUser |
Méthode | Description | |
---|---|---|
GetHttpClient ( String OAuth = null ) : |
public GetGallery ( String section, String sort, System.Boolean Viral, |
||
section | String | hot | top | user - defaults to hot |
sort | String | viral | top | time | rising (only available with user section) - defaults to viral |
Viral | System.Boolean | true | false - Show or hide viral images from the 'user' section. Defaults to true |
Page | integer - the data paging number | |
OAuth | String | OAuth Token - For user authentication |
Résultat | JsonObject |
public GetSubRedditGallery ( String Subreddit, String Sort, |
||
Subreddit | String | |
Sort | String | |
Page | ||
Résultat | Object |
public RefreshOAuth ( DataLayer Token ) : DataLayer.OAuthToken | ||
Token | DataLayer | |
Résultat | DataLayer.OAuthToken |
public logIn ( string username, String OAuth = null ) : DataLayer.ImgurUser | ||
username | string | |
OAuth | String | |
Résultat | DataLayer.ImgurUser |