Optional allowWhether to allow this request to use the cache or ongoing requests if available
Requests using cache or other requests do not count towards the ratelimit and return a lot faster.
Optional apiThe API key to use in this request
The key has to be registered in the config.
If this is not given, the registered key with the most free requests will be selected.
Optional cacheThe amount of time the request should be cached for, overwrites the defaults specified in the config
Optional categoryOnly match items of this category
Optional colorOnly match items using this color
The array must be of length 3 and contain only integers between 0 and 255.
Optional displayOnly match items containing this string in their displayName
@case-insensitive
Optional dropOnly match items obtained from this source
Optional identificationsOnly match items that match the identification query
Optional ignoreWhether to ignore version errors
You can use this to resolve temporary conflicts while the library awaits being updated. Otherwise it should stay enabled.
false
Optional loreOnly match items containing this string in their lore @case-insensitive
Optional majorOnly match items that match the major ID query
Optional nameOnly match items containing this string in their name
Use the displayName filter for names as shown in-game.
Optional priorityWhether this request should be put to the front of the queue, executing before any non-priority requests are handled
false
Optional requirementsOnly match items that match the requirement query
Optional restrictionOnly match items with this restriction
Use null to search for items without any restrictions.
Optional retriesThe amount of times to retry the request on error
Optional setOnly match items that are part of this set
This property is currently only used by the `LEAF` set.
Optional spriteOnly match items using this visual sprite
Optional statsOnly match items that match the stat query
Optional tierOnly match items of this Rarity
Optional timeoutThe amount of milliseconds a until the request should be rejected

Optional typeOnly match items of this type
Generated using TypeDoc
The options for an item API request