C# 클래스 SnapDotNet.Core.Snapchat.Api.Endpoints

파일 보기 프로젝트 열기: 0xdeafcafe/SnapDotNet 1 사용 예제들

공개 메소드들

메소드 설명
Authenticate ( string username, string password ) : Account

AuthenticateAsync ( string username, string password ) : Task

ChangeFriendDisplayName ( string friendUsername, string newDisplayName ) : Response

ChangeFriendDisplayNameAsync ( string friendUsername, string newDisplayName ) : Task

ClearFeed ( ) : bool
ClearFeedAsync ( ) : Task

Endpoints ( SnapChatManager snapchatManager ) : System

FindFriends ( string countryCode, string>.ObservableCollection numberAndDisplayNameCollection ) : FoundFriend

FindFriendsAsync ( string countryCode, string>.ObservableCollection numberAndDisplayNameCollection ) : Task

GetCaptchaImages ( string email, string authToken ) : Captcha

GetCaptchaImagesAsync ( string email, string authToken ) : Task

GetPublicActivity ( string requestedUsernames = null ) : PublicActivity>.ObservableDictionary
GetPublicActivityAsync ( string requestedUsernames = null ) : PublicActivity>>.Task

GetSnapBlobAsync ( string snapId ) : Task

GetStories ( ) : Stories

GetStoriesAsync ( ) : Task

GetStoryBlob ( Uri blobPath, string key, string iv, bool zipped ) : byte[]

GetStoryMediaBlob ( Story storyInstance ) : byte[]

GetStoryThumbnailBlob ( Story storyInstance ) : byte[]

GetUpdates ( ) : Account

GetUpdatesAsync ( ) : Task

Logout ( ) : Response

LogoutAsync ( ) : Task

Register ( int age, string birthday, string email, string password ) : RegistrationResponse

RegisterAndGetCaptcha ( int age, string birthday, string email, string password ) : Captcha

RegisterAndGetCaptchaAsync ( int age, string birthday, string email, string password ) : Task

RegisterAsync ( int age, string birthday, string email, string password ) : Task

RegisterUsername ( string email, string authToken, string requestedUsername ) : Account

RegisterUsernameAsync ( string email, string authToken, string requestedUsername ) : Task

SendFriendAction ( string friendUsername, FriendAction action ) : Response

SendFriendActionAsync ( string friendUsername, FriendAction action ) : Task

SendSnapViewedEvent ( string snapId, int timeViewed, int captureTime ) : bool

SendSnapViewedEventAsync ( string snapId, int timeViewed, int captureTime ) : Task

SendStoryViewedEvent ( string storyId, int screenshotCount ) : bool

SendStoryViewedEventAsync ( string storyId, int screenshotCount ) : Task

SetBestFriendCount ( int numberOfBestFriends ) : BestFriends
SetBestFriendCountAsync ( int numberOfBestFriends ) : Task

SolveCaptcha ( string email, string captchaId, string authToken, bool captchaImagesWithGhosts ) : bool

SolveCaptchaAsync ( string email, string captchaId, string authToken, bool captchaImagesWithGhosts ) : Task

UpdateAccountPrivacy ( bool isPrivate ) : bool

UpdateAccountPrivacyAsync ( bool isPrivate ) : Task

UpdateBirthday ( int birthMonth, int birthDay ) : bool

UpdateBirthdayAsync ( int birthMonth, int birthDay ) : Task

UpdateEmail ( string email ) : bool

UpdateEmailAsync ( string email ) : Task

UpdateFeatureSettings ( bool smartFilters = false, bool visualFilters = false, bool specialText = false, bool replaySnaps = false, bool frontFacingFlash = false ) : bool

UpdateFeatureSettingsAsync ( bool smartFilters = false, bool visualFilters = false, bool specialText = false, bool replaySnaps = false, bool frontFacingFlash = false ) : Task

UpdateMaturitySettings ( bool canViewMatureContent ) : bool

UpdateMaturitySettingsAsync ( bool canViewMatureContent ) : Task

UpdateSetting ( string actionName, string>.Dictionary extraPostData = null ) : bool

UpdateStoryPrivacy ( bool friendsOnly, List friendsToBlock = null ) : bool

UpdateStoryPrivacyAsync ( bool friendsOnly, List friendsToBlock = null ) : Task

비공개 메소드들

메소드 설명
GetAuthedUsername ( ) : string

SendSnapEventsAsync ( object>.Dictionary events, double>.Dictionary snapInfo ) : Task

SendStoryEventsAsync ( string>.Dictionary storyInfo ) : Task

UpdateSettingAsync ( string actionName, string>.Dictionary extraPostData = null ) : Task

메소드 상세

Authenticate() 공개 메소드

public Authenticate ( string username, string password ) : Account
username string
password string
리턴 SnapDotNet.Core.Snapchat.Models.Account

AuthenticateAsync() 공개 메소드

public AuthenticateAsync ( string username, string password ) : Task
username string
password string
리턴 Task

ChangeFriendDisplayName() 공개 메소드

public ChangeFriendDisplayName ( string friendUsername, string newDisplayName ) : Response
friendUsername string
newDisplayName string
리턴 Response

ChangeFriendDisplayNameAsync() 공개 메소드

public ChangeFriendDisplayNameAsync ( string friendUsername, string newDisplayName ) : Task
friendUsername string
newDisplayName string
리턴 Task

ClearFeed() 공개 메소드

public ClearFeed ( ) : bool
리턴 bool

ClearFeedAsync() 공개 메소드

public ClearFeedAsync ( ) : Task
리턴 Task

Endpoints() 공개 메소드

public Endpoints ( SnapChatManager snapchatManager ) : System
snapchatManager SnapChatManager
리턴 System

FindFriends() 공개 메소드

public FindFriends ( string countryCode, string>.ObservableCollection numberAndDisplayNameCollection ) : FoundFriend
countryCode string
numberAndDisplayNameCollection string>.ObservableCollection A collection of Tuples, where the first item is a phone full number /// (without country code), and the second is the Display Name that will be applied to the account with this number.
리턴 SnapDotNet.Core.Snapchat.Models.FoundFriend

FindFriendsAsync() 공개 메소드

public FindFriendsAsync ( string countryCode, string>.ObservableCollection numberAndDisplayNameCollection ) : Task
countryCode string
numberAndDisplayNameCollection string>.ObservableCollection A collection of Tuples, where the first item is a phone full number /// (without country code), and the second is the Display Name that will be applied to the account with this number.
리턴 Task

GetCaptchaImages() 공개 메소드

public GetCaptchaImages ( string email, string authToken ) : Captcha
email string
authToken string
리턴 SnapDotNet.Core.Snapchat.Models.Captcha

GetCaptchaImagesAsync() 공개 메소드

public GetCaptchaImagesAsync ( string email, string authToken ) : Task
email string
authToken string
리턴 Task

GetPublicActivity() 공개 메소드

public GetPublicActivity ( string requestedUsernames = null ) : PublicActivity>.ObservableDictionary
requestedUsernames string
리턴 PublicActivity>.ObservableDictionary

GetPublicActivityAsync() 공개 메소드

public GetPublicActivityAsync ( string requestedUsernames = null ) : PublicActivity>>.Task
requestedUsernames string
리턴 PublicActivity>>.Task

GetSnapBlobAsync() 공개 메소드

public GetSnapBlobAsync ( string snapId ) : Task
snapId string
리턴 Task

GetStories() 공개 메소드

public GetStories ( ) : Stories
리턴 Stories

GetStoriesAsync() 공개 메소드

public GetStoriesAsync ( ) : Task
리턴 Task

GetStoryBlob() 공개 메소드

public GetStoryBlob ( Uri blobPath, string key, string iv, bool zipped ) : byte[]
blobPath System.Uri
key string
iv string
zipped bool
리턴 byte[]

GetStoryMediaBlob() 공개 메소드

public GetStoryMediaBlob ( Story storyInstance ) : byte[]
storyInstance Story
리턴 byte[]

GetStoryThumbnailBlob() 공개 메소드

public GetStoryThumbnailBlob ( Story storyInstance ) : byte[]
storyInstance Story
리턴 byte[]

GetUpdates() 공개 메소드

public GetUpdates ( ) : Account
리턴 SnapDotNet.Core.Snapchat.Models.Account

GetUpdatesAsync() 공개 메소드

public GetUpdatesAsync ( ) : Task
리턴 Task

Logout() 공개 메소드

public Logout ( ) : Response
리턴 Response

LogoutAsync() 공개 메소드

public LogoutAsync ( ) : Task
리턴 Task

Register() 공개 메소드

public Register ( int age, string birthday, string email, string password ) : RegistrationResponse
age int
birthday string
email string
password string
리턴 SnapDotNet.Core.Snapchat.Models.RegistrationResponse

RegisterAndGetCaptcha() 공개 메소드

public RegisterAndGetCaptcha ( int age, string birthday, string email, string password ) : Captcha
age int
birthday string
email string
password string
리턴 SnapDotNet.Core.Snapchat.Models.Captcha

RegisterAndGetCaptchaAsync() 공개 메소드

public RegisterAndGetCaptchaAsync ( int age, string birthday, string email, string password ) : Task
age int
birthday string
email string
password string
리턴 Task

RegisterAsync() 공개 메소드

public RegisterAsync ( int age, string birthday, string email, string password ) : Task
age int
birthday string
email string
password string
리턴 Task

RegisterUsername() 공개 메소드

public RegisterUsername ( string email, string authToken, string requestedUsername ) : Account
email string
authToken string
requestedUsername string
리턴 SnapDotNet.Core.Snapchat.Models.Account

RegisterUsernameAsync() 공개 메소드

public RegisterUsernameAsync ( string email, string authToken, string requestedUsername ) : Task
email string
authToken string
requestedUsername string
리턴 Task

SendFriendAction() 공개 메소드

public SendFriendAction ( string friendUsername, FriendAction action ) : Response
friendUsername string
action FriendAction
리턴 Response

SendFriendActionAsync() 공개 메소드

public SendFriendActionAsync ( string friendUsername, FriendAction action ) : Task
friendUsername string
action FriendAction
리턴 Task

SendSnapViewedEvent() 공개 메소드

public SendSnapViewedEvent ( string snapId, int timeViewed, int captureTime ) : bool
snapId string
timeViewed int
captureTime int
리턴 bool

SendSnapViewedEventAsync() 공개 메소드

public SendSnapViewedEventAsync ( string snapId, int timeViewed, int captureTime ) : Task
snapId string
timeViewed int
captureTime int
리턴 Task

SendStoryViewedEvent() 공개 메소드

public SendStoryViewedEvent ( string storyId, int screenshotCount ) : bool
storyId string
screenshotCount int
리턴 bool

SendStoryViewedEventAsync() 공개 메소드

public SendStoryViewedEventAsync ( string storyId, int screenshotCount ) : Task
storyId string
screenshotCount int
리턴 Task

SetBestFriendCount() 공개 메소드

public SetBestFriendCount ( int numberOfBestFriends ) : BestFriends
numberOfBestFriends int
리턴 SnapDotNet.Core.Snapchat.Models.BestFriends

SetBestFriendCountAsync() 공개 메소드

public SetBestFriendCountAsync ( int numberOfBestFriends ) : Task
numberOfBestFriends int Must be 3, 5, or 7.
리턴 Task

SolveCaptcha() 공개 메소드

public SolveCaptcha ( string email, string captchaId, string authToken, bool captchaImagesWithGhosts ) : bool
email string
captchaId string
authToken string
captchaImagesWithGhosts bool
리턴 bool

SolveCaptchaAsync() 공개 메소드

public SolveCaptchaAsync ( string email, string captchaId, string authToken, bool captchaImagesWithGhosts ) : Task
email string
captchaId string
authToken string
captchaImagesWithGhosts bool
리턴 Task

UpdateAccountPrivacy() 공개 메소드

public UpdateAccountPrivacy ( bool isPrivate ) : bool
isPrivate bool
리턴 bool

UpdateAccountPrivacyAsync() 공개 메소드

public UpdateAccountPrivacyAsync ( bool isPrivate ) : Task
isPrivate bool
리턴 Task

UpdateBirthday() 공개 메소드

public UpdateBirthday ( int birthMonth, int birthDay ) : bool
birthMonth int
birthDay int
리턴 bool

UpdateBirthdayAsync() 공개 메소드

public UpdateBirthdayAsync ( int birthMonth, int birthDay ) : Task
birthMonth int
birthDay int
리턴 Task

UpdateEmail() 공개 메소드

public UpdateEmail ( string email ) : bool
email string
리턴 bool

UpdateEmailAsync() 공개 메소드

public UpdateEmailAsync ( string email ) : Task
email string
리턴 Task

UpdateFeatureSettings() 공개 메소드

public UpdateFeatureSettings ( bool smartFilters = false, bool visualFilters = false, bool specialText = false, bool replaySnaps = false, bool frontFacingFlash = false ) : bool
smartFilters bool
visualFilters bool
specialText bool
replaySnaps bool
frontFacingFlash bool
리턴 bool

UpdateFeatureSettingsAsync() 공개 메소드

public UpdateFeatureSettingsAsync ( bool smartFilters = false, bool visualFilters = false, bool specialText = false, bool replaySnaps = false, bool frontFacingFlash = false ) : Task
smartFilters bool
visualFilters bool
specialText bool
replaySnaps bool
frontFacingFlash bool
리턴 Task

UpdateMaturitySettings() 공개 메소드

public UpdateMaturitySettings ( bool canViewMatureContent ) : bool
canViewMatureContent bool
리턴 bool

UpdateMaturitySettingsAsync() 공개 메소드

public UpdateMaturitySettingsAsync ( bool canViewMatureContent ) : Task
canViewMatureContent bool
리턴 Task

UpdateSetting() 공개 메소드

public UpdateSetting ( string actionName, string>.Dictionary extraPostData = null ) : bool
actionName string
extraPostData string>.Dictionary
리턴 bool

UpdateStoryPrivacy() 공개 메소드

public UpdateStoryPrivacy ( bool friendsOnly, List friendsToBlock = null ) : bool
friendsOnly bool
friendsToBlock List
리턴 bool

UpdateStoryPrivacyAsync() 공개 메소드

public UpdateStoryPrivacyAsync ( bool friendsOnly, List friendsToBlock = null ) : Task
friendsOnly bool
friendsToBlock List
리턴 Task