class Stremio::Addon::DevKit::CatalogBase::ExtraSkip

Overview

Enables Pagination See: https://github.com/Stremio/stremio-addon-sdk/blob/master/docs/advanced.md#pagination-in-catalogs

Included Modules

Defined in:

stremio-addon-devkit/catalog_base.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(isRequired : Bool = false, steps = Array(UInt32).new) #

[View source]

Instance Method Detail

def isRequired : Bool #

#isRequired: optional - boolean, set to true if this property must always be passed


[View source]
def name : ExtraType #

#name: required - string, is the name of the property; this name will be used in the extraProps argument itself


[View source]
def options : Array(String) | Nil #

#options: optional - an explicit lists of "steps" to follow. If an empty list is defined, the default value of "100" will be used. This means the addon will request 100 entries, until it receives less than 100 entries (to signify the end of the list)


[View source]