C# 클래스 ImgurNet.ApiEndpoints.AccountEndpoint

상속: BaseEndpoint
파일 보기 프로젝트 열기: 0xdeafcafe/ImgurNet 1 사용 예제들

공개 메소드들

메소드 설명
AccountEndpoint ( Imgur imgur ) : System

DeleteAccountAlbumAsync ( string deletionHash, string username = "me" ) : Task>

Deletes an album from a user's account. This always requires a deletion hash.

DeleteAccountImageAsync ( string deletionHash, string username = "me" ) : Task>

Deletes an image from a user's account. This always requires a deletion hash.

GetAccountAlbumCountAsync ( string username = "me" ) : Task>

Gets the number of albums the user has uploaded.

This tests throws a "Imgur over capacity error right now.. No idea why

GetAccountAlbumDetailsAsync ( string albumId, string username = "me" ) : Task>

Gets the Details of an album uploaded by an account.

GetAccountAlbumIdsAsync ( string username = "me" ) : Task>

Gets a list of AlbumId's that the account has uploaded

GetAccountAlbumsAsync ( int page, string username = "me" ) : Task>

Gets all albums uploaded by an account. This endpoint is pagniated.

GetAccountDetailsAsync ( string username ) : Task>

Request standard account information

GetAccountImageCountAsync ( string username = "me" ) : Task>

Gets the number of images the user has uploaded.

GetAccountImageDetailsAsync ( string imageId, string username = "me" ) : Task>

Gets the Details of an image uploaded by an account.

GetAccountImageIdsAsync ( string username = "me" ) : Task>

Gets a list of ImageId's that the account has uploaded

GetAccountImagesAsync ( int page, string username = "me" ) : Task>

Gets all images uploaded by an account. This endpoint is pagniated.

메소드 상세

AccountEndpoint() 공개 메소드

public AccountEndpoint ( Imgur imgur ) : System
imgur Imgur
리턴 System

DeleteAccountAlbumAsync() 공개 메소드

Deletes an album from a user's account. This always requires a deletion hash.
public DeleteAccountAlbumAsync ( string deletionHash, string username = "me" ) : Task>
deletionHash string The deletion hash for the album.
username string The username of the account to delete from. Can be ignored if using OAuth2, and it will use that account.
리턴 Task>

DeleteAccountImageAsync() 공개 메소드

Deletes an image from a user's account. This always requires a deletion hash.
public DeleteAccountImageAsync ( string deletionHash, string username = "me" ) : Task>
deletionHash string The deletion hash for the image.
username string The username of the account to delete from. Can be ignored if using OAuth2, and it will use that account.
리턴 Task>

GetAccountAlbumCountAsync() 공개 메소드

Gets the number of albums the user has uploaded.
This tests throws a "Imgur over capacity error right now.. No idea why
public GetAccountAlbumCountAsync ( string username = "me" ) : Task>
username string The username to get album count from. Can be ignored if using OAuth2, and it will use that account.
리턴 Task>

GetAccountAlbumDetailsAsync() 공개 메소드

Gets the Details of an album uploaded by an account.
public GetAccountAlbumDetailsAsync ( string albumId, string username = "me" ) : Task>
albumId string The Id of the album to get details from
username string The username to get the album from. Can be ignored if using OAuth2, and it will use that account.
리턴 Task>

GetAccountAlbumIdsAsync() 공개 메소드

Gets a list of AlbumId's that the account has uploaded
public GetAccountAlbumIdsAsync ( string username = "me" ) : Task>
username string The username to get album ids from. Can be ignored if using OAuth2, and it will use that account.
리턴 Task>

GetAccountAlbumsAsync() 공개 메소드

Gets all albums uploaded by an account. This endpoint is pagniated.
public GetAccountAlbumsAsync ( int page, string username = "me" ) : Task>
page int The page of albums to load.
username string The username to get the album from. Can be ignored if using OAuth2, and it will use that account.
리턴 Task>

GetAccountDetailsAsync() 공개 메소드

Request standard account information
public GetAccountDetailsAsync ( string username ) : Task>
username string The username of the account you want information of.
리턴 Task>

GetAccountImageCountAsync() 공개 메소드

Gets the number of images the user has uploaded.
public GetAccountImageCountAsync ( string username = "me" ) : Task>
username string The username to get image count from. Can be ignored if using OAuth2, and it will use that account.
리턴 Task>

GetAccountImageDetailsAsync() 공개 메소드

Gets the Details of an image uploaded by an account.
public GetAccountImageDetailsAsync ( string imageId, string username = "me" ) : Task>
imageId string The Id of the image to get details from
username string The username to get the image from. Can be ignored if using OAuth2, and it will use that account.
리턴 Task>

GetAccountImageIdsAsync() 공개 메소드

Gets a list of ImageId's that the account has uploaded
public GetAccountImageIdsAsync ( string username = "me" ) : Task>
username string The username to get image count from. Can be ignored if using OAuth2, and it will use that account.
리턴 Task>

GetAccountImagesAsync() 공개 메소드

Gets all images uploaded by an account. This endpoint is pagniated.
public GetAccountImagesAsync ( int page, string username = "me" ) : Task>
page int The page of images to load.
username string The username to get the images from. Can be ignored if using OAuth2, and it will use that account.
리턴 Task>