abstract class Spotlight::Base

Direct Known Subclasses

Defined in:

spotlight/base.cr

Instance Method Summary

Instance Method Detail

abstract def build_url(query : String, page : Int32 = 1) : String #

[View source]
def handle_errors(response) #

[View source]
abstract def parse(html : String) : Array(Spotlight::Result) #

[View source]
def search(query : String, limit : Int32 = 10, page : Int32 = 1) #

[View source]