module Telegraph
Included Modules
Extended Modules
Defined in:
telegraph.crtelegraph/version.cr
Constant Summary
-
VERSION =
"0.1.0"
Instance Method Summary
- #account_info(access_token : String, fields : Array = [“short_name”, “author_name”, “author_url”])
- #create_account(short_name : String, author_name : String = "", author_url : String = "")
- #create_page(access_token : String, title : String, author_name : String = "", author_url : String = "", content : Array = [] of String, return_content : Bool = false)
- #edit_account_info(access_token : String, short_name : String, author_name : String = "", author_url : String = "")
- #edit_page(access_token : String, path : String, title : String, content : Array, author_name : String)
- #page(path : String, return_content : Bool = false)
- #page_list(access_token : String, offset : Int32 = 0, limit : Int32 = 50)
- #revoke_access_token(access_token : String)
- #views(path : String, year : Int32, month : Int32, day : Int32, hour : Int32)
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”])
#
def create_page(access_token : String, title : String, author_name : String = "", author_url : String = "", content : Array = [] of String, return_content : Bool = false)
#
def edit_account_info(access_token : String, short_name : String, author_name : String = "", author_url : String = "")
#
def edit_page(access_token : String, path : String, title : String, content : Array, author_name : String)
#