module Medium::Connection

Direct including types

Defined in:

medium/connection.cr

Constant Summary

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

Instance Method Summary

Instance Method Detail

def download(endpoint : String) #

def get(endpoint, params : Hash(String, String) | Nil = nil, headers : HTTP::Headers | Nil = nil, body : String | Nil = nil) #

def http : HTTP::Client #

def request(method, endpoint, params : Hash(String, String) | Nil = nil, headers : HTTP::Headers | Nil = nil, body : String | Nil = nil) #