module

Telegraph

Inherits Request

Constants

VERSION = "0.1.0"

Instance methods

account_info(access_token : String, fields : Array = [“short_name”, “author_name”, “author_url”])
Source
create_account(short_name : String, author_name : String = "", author_url : String = "")
Source
create_page(access_token : String, title : String, author_name : String = "", author_url : String = "", content : Array = [] of String, return_content : Bool = false)
Source
edit_account_info(access_token : String, short_name : String, author_name : String = "", author_url : String = "")
Source
edit_page(access_token : String, path : String, title : String, content : Array, author_name : String)
Source
page(path : String, return_content : Bool = false)
Source
page_list(access_token : String, offset : Int32 = 0, limit : Int32 = 50)
Source
revoke_access_token(access_token : String)
Source
views(path : String, year : Int32, month : Int32, day : Int32, hour : Int32)
Source