UNPKG

bungie-net-core

Version:

An easy way to interact with the Bungie.net API

16 lines (15 loc) 442 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getCommunityContent = getCommunityContent; async function getCommunityContent(http, params) { const baseUrl = `https://www.bungie.net/Platform/CommunityContent/Get/${params.sort}/${params.mediaFilter}/${params.page}/`; const searchParams = undefined; return await http({ method: 'GET', baseUrl, searchParams, body: undefined }); }