module Telegraph

Included Modules

Extended Modules

Defined in:

telegraph.cr
telegraph/version.cr

Constant Summary

VERSION = "0.1.0"

Instance Method Summary

Instance methods inherited from module Request

get(method, params) : String get

Instance Method Detail

def account_info(access_token : String, fields : Array = [“short_name”, “author_name”, “author_url”]) #

[View source]
def create_account(short_name : String, author_name : String = "", author_url : String = "") #

[View source]
def create_page(access_token : String, title : String, author_name : String = "", author_url : String = "", content : Array = [] of String, return_content : Bool = false) #

[View source]
def edit_account_info(access_token : String, short_name : String, author_name : String = "", author_url : String = "") #

[View source]
def edit_page(access_token : String, path : String, title : String, content : Array, author_name : String) #

[View source]
def page(path : String, return_content : Bool = false) #

[View source]
def page_list(access_token : String, offset : Int32 = 0, limit : Int32 = 50) #

[View source]
def revoke_access_token(access_token : String) #

[View source]
def views(path : String, year : Int32, month : Int32, day : Int32, hour : Int32) #

[View source]