class Medium::Client

Included Modules

Defined in:

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

Constructors

Class Method Summary

Instance Method Summary

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(host : String | Nil = HOST) : HTTP::Client http, request(method, endpoint, params : Hash(String, String) | Nil = nil, headers : HTTP::Headers | Nil = nil, body : String | Nil = nil) request

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

user user

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

publication publication

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

collection_archive(year : String = "", month : String = "", day : String = "") : Array(String) collection_archive, collection_stream collection_stream, normalize_urls(urls : Array(String)) : Array(String) normalize_urls, post_by_id(post_id : String) post_by_id, post_by_url(url : String) : Medium::Post post_by_url, post_id_from_url(url : String) post_id_from_url, posts(source = "overview") posts, streams(source = "overview") streams

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

media(id : String) media

Constructor Detail

def self.new(user : String | Nil, publication : String | Nil, logger : Logger) #

[View source]

Class Method Detail

def self.default #

[View source]
def self.default=(client : Medium::Client) #

[View source]

Instance Method Detail

def close #

[View source]
def post_urls_by_author(author : String) #

[View source]