class Medium::Client

Included Modules

Defined in:

medium/client.cr
medium/client/collections.cr
medium/client/media.cr
medium/client/posts.cr
medium/client/users.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Medium::Client::Media

media(id : String) media

Instance methods inherited from module Medium::Client::Posts

post_by_id(post_id : String) post_by_id, post_by_url(url : String) post_by_url, posts(source = "overview") posts, streams(source = "overview") streams

Instance methods inherited from module Medium::Client::Users

user user

Instance methods inherited from module Medium::Connection

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

Constructor Detail

def self.new(token : String, user : String | Nil) #

Class Method Detail

def self.default #

def self.default=(client : Medium::Client) #

Instance Method Detail

def close #