C# Class FapChat.Core.Snapchat.Helpers.WebRequests

Wrapper for all Web Request Types sent to Snapchats API
显示文件 Open project: 0xdeafcafe/FapChat

Public Methods

Method Description
Post ( string endpoint, string>.Dictionary postData, string typeToken, string timeStamp, string>.Dictionary headers = null ) : Task

Posts data to the Snapchat API

PostBodyParser ( string>.Dictionary postEntries ) : string

Generates a Post Body Query String from a Dictionary of Post Data Entries

Method Details

Post() public static method

Posts data to the Snapchat API
public static Post ( string endpoint, string>.Dictionary postData, string typeToken, string timeStamp, string>.Dictionary headers = null ) : Task
endpoint string The endpoint to point to (ie; login, logout)
postData string>.Dictionary Dictionary of data to post
typeToken string /// The token to generate the req_token (StaticToken for Unauthorized Requests, AuthToken for /// Authorized Requests) ///
timeStamp string The retarded Snapchat Timestamp
headers string>.Dictionary Optional Bonus Headers
return Task

PostBodyParser() public static method

Generates a Post Body Query String from a Dictionary of Post Data Entries
public static PostBodyParser ( string>.Dictionary postEntries ) : string
postEntries string>.Dictionary A dictionary of post data entries.
return string