module

Medium::Connection

Constants

DEFAULT_PARAMS = {"format" => "json"}
HOST = "medium.com"

Instance methods

download(endpoint : String)
Source
get(endpoint, params : Hash(String, String) | Nil = nil, headers : HTTP::Headers | Nil = nil, body : String | Nil = nil)
Source
http(host : String | Nil = HOST) : HTTP::Client
Source
request(method, endpoint, params : Hash(String, String) | Nil = nil, headers : HTTP::Headers | Nil = nil, body : String | Nil = nil)
Source