class Mdex::Client

Included Modules

Defined in:

client.cr

Constant Summary

USER_AGENT = "M-dex #{VERSION} (Crystal #{Crystal::VERSION})"
VERSION = "0.2"

Constructors

Class Method Summary

Instance methods inherited from module Mdex::API

chapter(id : Int32) : String chapter, genre(id : Int32) : String genre, group(id : Int32) : String group, manga(id : Int32, title_slug : String = "", page_number : Int32 = 1, chapters_only : Bool = false) : String manga, search(query : String, options : Hash(String, String) = {} of String => String, fields_only : Bool = false) : String search, updates(page_number : Int32 = 1) : String updates, user(id : Int32) : String user

Constructor Detail

def self.new(base_url : String = "https://mangadex.org/") #

[View source]

Class Method Detail

def self.base_url #

[View source]
def self.get(endpoint : String, params = {} of String => String) #

[View source]