class

Wayback::Api

Inherits Reference < Object

Constants

API_HOST = "web.archive.org"
CONNECT_TIMEOUT = 30.seconds
READ_TIMEOUT = 30.seconds
USER_AGENT = "wayback.cr/#{VERSION} (+https://github.com/kandayo/wayback.cr)"

Constructors

new(*, api_host : String = API_HOST, user_agent : String = USER_AGENT, connect_timeout : Time::Span = CONNECT_TIMEOUT, read_timeout : Time::Span = CONNECT_TIMEOUT)
Source

Instance methods

perform(query : Query) : Array(Snapshot)
Source