Api Query
class

Query

public class Query

Query the Steam Workshop for items

Constructors

Query()

Properties

Name Type Description
FileIds List<UInt64> Specific workshop file IDs to query. When set, other filters are ignored and the query returns details for these specific items.
TagsRequired HashSet<String> Tags that the item must have all of to be included in results.
TagsExcluded HashSet<String> Tags that the item must not have any of to be included in results.
KeyValues Dictionary<String, String> KeyValues that the item must match to be included in results.
SearchText String Search Text
MaxCacheAge Int32 Max Cache Age in seconds
SortOrder SortOrder Sort Order
Author SteamId Filter results to items published by this Steam ID. When set, uses a user-specific query instead of a global one.
RankTrendDays Int32 Number of days to consider for rank trend calculations

Methods

Task<QueryResult> Run(CancellationToken token = null)

Run the query

Assembly: Sandbox.Engine Declaring Type: Storage Full Name: Sandbox.Storage.Query