class

Esto::Client

Inherits Reference < Object

Constructors

new(endpoint : String = "https://e621.net", user_agent : String = "Esto Crystal #{Esto::VERSION}")
Source

Instance methods

artists(name : String | Nil = nil, limit : Int32 | Nil = 100, order : String | Symbol = :name, page : Int32 = 1)
Source
blip(id : Int32)
Source
blips(name : String | Nil = nil, body : String | Nil = nil, page : Int32 = 1, limit : Int32 = 100, status : String | Symbol = :any, response_to : Int32 | Nil = nil)
Source
check_post_md5(md5 : String)
Source
comment(id : Int32)
Source
comments(post_id : Int32 | Nil = nil, page : Int32 = 1, status : String | Nil | Symbol | Nil = nil)
Source
delete(path, *, params = nil, form = nil)
Source
get(path, *, params = nil, form = nil)
Source
patch(path, *, params = nil, form = nil)
Source
post(id : Int32 | String)
Source
post(path, *, params = nil, form = nil)
Source
post_tags(id : Int32 | String)
Source
posts(limit : Int32 = 320, before_id : Int32 | Nil = nil, page : Int32 | Nil = nil, tags : Array(String) | Nil = nil)
Source
put(path, *, params = nil, form = nil)
Source
request(method, path, *, params = nil, form = nil)
Source
search_comments(query : String, results : String | Symbol = :fuzzy, date_start : Time | Nil = nil, date_end : Time | Nil = nil, order : String | Symbol = :date, post_id : Int32 | Nil = nil, page : Int32 = 1, user : String | Nil = nil, user_id : Int32 | Nil = nil, status : String | Symbol = :any)
Source
tag(id : Int32)
Source
tag_aliases(page : Int32 = 1, order : String | Symbol = :aliasedtag, query : String | Nil = nil, user : String | Nil = nil, approved : String | Nil | Symbol | Nil | Bool | Nil = nil, forum_post : String | Nil | Symbol | Nil | Bool | Nil = nil)
Source
tag_implications(page : Int32 = 1, order : String | Symbol = :aliasedtag, query : String | Nil = nil, user : String | Nil = nil, approved : String | Nil | Symbol | Nil | Bool | Nil = nil, forum_post : String | Nil | Symbol | Nil | Bool | Nil = nil)
Source
tags(limit : Int32 = 500, page : Int32 = 1, order : String | Symbol = :date, after_id : Int32 = 0, show_empty_tags : Bool = false, name : String | Nil = nil, name_pattern : String | Nil = nil)
Source