Telegraph
Inherits Request
Constants
VERSION = "0.1.0"
Instance methods
account_info(access_token : String, fields : Array = [“short_name”, “author_name”, “author_url”])
Sourcecreate_account(short_name : String, author_name : String = "", author_url : String = "")
Sourcecreate_page(access_token : String, title : String, author_name : String = "", author_url : String = "", content : Array = [] of String, return_content : Bool = false)
Sourceedit_account_info(access_token : String, short_name : String, author_name : String = "", author_url : String = "")
Sourceedit_page(access_token : String, path : String, title : String, content : Array, author_name : String)
Sourcepage(path : String, return_content : Bool = false)
Sourcepage_list(access_token : String, offset : Int32 = 0, limit : Int32 = 50)
Sourcerevoke_access_token(access_token : String)
Sourceviews(path : String, year : Int32, month : Int32, day : Int32, hour : Int32)
Source