bungie-net-api
Version:
A zero dependency library for the Bungie.net api
16 lines (15 loc) • 806 B
JavaScript
/** @module Content/Endpoint */
/** An object containing all Content endpoints */
const endpoints = {
rootPath : "https://www.bungie.net/Platform",
authorization : "https://www.bungie.net/en/oauth/authorize",
token : "https://www.bungie.net/platform/app/oauth/token/",
getContentType : "/Content/GetContentType/{type}/",
getContentById : "/Content/GetContentById/{id}/{locale}/",
getContentByTagAndType : "/Content/GetContentByTagAndType/{tag}/{type}/{locale}/",
getContentWithText : "/Content/Search/{locale}/",
searchContentByTagAndType : "/Content/SearchContentByTagAndType/{tag}/{type}/{locale}/",
searchContentWithText : "/Content/Search/{locale}/"
}
module.exports = endpoints;