trending library

Classes

BungieMembershipType
DateRange
GetTrendingCategoryParams
GetTrendingEntryDetailParams
HttpClient
A generic, minimal type for providing an HTTP client function. This gets the necessary config provided as an argument, and then should produce a promise for the parsed JSON as a result. The API helper functions will use this to return the right type.
HttpClientConfig
HyperlinkReference
IgnoreResponse
Bungie.Net API These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. [...]
IgnoreStatus
InterpolationPoint
InterpolationPointFloat
PagedQuery
PartnershipType
PlatformErrorCodes
SearchResultOfTrendingEntry
ServerResponse<T>
Bungie.Net API These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. [...]
TagResponse
TrendingCategories
TrendingCategory
TrendingDetail
TrendingEntry
The list entry view for trending items. Returns just enough to show the item on the trending page.
TrendingEntryCommunityCreation
TrendingEntryCommunityStream
TrendingEntryDestinyActivity
TrendingEntryDestinyItem
TrendingEntryDestinyRitual
TrendingEntryNews
TrendingEntrySupportArticle
TrendingEntryType

Functions

getTrendingCategories(HttpClient http) → Future<ServerResponse<TrendingCategories>>
Returns trending items for Bungie.net, collapsed into the first page of items per category. For pagination within a category, call GetTrendingCategory.
getTrendingCategory(HttpClient http, GetTrendingCategoryParams params) → Future<ServerResponse<SearchResultOfTrendingEntry>>
Returns paginated lists of trending items for a category.
getTrendingEntryDetail(HttpClient http, GetTrendingEntryDetailParams params) → Future<ServerResponse<TrendingDetail>>
Returns the detailed results for a specific trending entry. Note that trending entries are uniquely identified by a combination of both the TrendingEntryType and the identifier: the identifier alone is not guaranteed to be globally unique.