Bungie-net / api

Resources for the Bungie.net API
Other
1.22k stars 92 forks source link

Featured article on trending page #861

Open PepijnAverink opened 5 years ago

PepijnAverink commented 5 years ago

Hi everyone, so I am using the: https://www.bungie.net/Platform/Trending/Categories/ endpoint to get the articles on the bungie trending page. I want to focus on the latest category. As of the making of this issue the first element in the array is the "Dawning article" and it is also the featured article (at least that is what this endpoint thinks). The second element is the TWAB that is the featured article when you head over the https://www.bungie.net

Well obviously the article that is featured according to this endpoint is not supposed to be the featured one. Any clue as of what could be going on here?

vthornheart-bng commented 5 years ago

Ah, what you're probably running into is the incompatibility between the "Trending" API and what the website now shows. The Trending API was ultimately unchanged for backcompat reasons with our companion app, but we moved away from using it for the frontpage of the site itself.

If you want to get exactly what the frontpage of the site is now returning, grab the comically versioned GetHomepageContentV3 endpoint (/Platform/Content/Site/Homepage/V3/)... and hold your nose. :(

vthornheart-bng commented 5 years ago

(which is to say, none of the content-related endpoints were ever built with the intent of 3rd parties accessing them. They're ugly and pragmatic, and prone to being changed on the whim of the current site design)