Module: api

-- BLUEPRINTS
Lists items using filter.
--- Config ---
search: string (not empty)
category: string
repo: string
sortBy: string? (nil, "", "updatedAt:desc", "likes:desc", "views:desc", ...)
--- Callback ---
--- error: string (can be nil)
items: []Item (can be nil)
returns the published worlds in the specified category
config: table
perPage: integer?
page: integer? (default is 1)
sortBy: string? (nil, "", "updatedAt:desc", "likes:desc", "views:desc", ...)
callback: function(err, worlds)

📃 Source