Bungie-net / api

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

Game State Integration #860

Open InsaneDoggo opened 5 years ago

InsaneDoggo commented 5 years ago

Hi, does destiny 2 provides something like Valve's Game State Integration for CS:GO?

Accordingly to doc from mentioned link:

There are many ways for third parties to integrate their services with the game: activate stage lighting and pyrotechnics during a competitive match, activate lighting or haptic elements in peripherals connected to the player's PC during the game, complement streaming overlay with custom interactive graphics synchronized with game state, collect all game state changes to annotate recorded VODs, etc.

ckhicks commented 5 years ago

I've been thinking about this a lot ever since I got this: https://www.etsy.com/listing/618261789/engram-programmable-destiny-rgb-led 😎

floatingatoll commented 5 years ago

It does not. It's been discussed previously here and Bungie has not committed to supporting it.

For what little of the above list is possible with today's API, please note as well that:

1) API has a guaranteed "up to 60 seconds" caching policy for all reads from the API, and so in D1/D2 at least even with frequent polling you'll be capped at one update per minute for what little of the listed GSI is available. 2) API push support does not exist, and Bungie has not committed to that as well. 3) API availability is not guaranteed, especially during busy times. 4) Collecting this data directly from the game — without using the API — could be interpreted as hacking/cheating, since it would require breaking the terms of service to spy somehow on the game's current state.

ckhicks commented 5 years ago

Those are all excellent points - I think something along the lines of careful stat curation could be a really great starting point for this. Think: loadout changes via the Destiny Armory Twitch overlay, @lowlines's idea for an activity feed (https://twitter.com/lowlines/status/1036114341823537153), etc.

vthornheart-bng commented 5 years ago

Aye, unfortunately we can't make any promises on this front for the forseeable future. It'd require a lot of infrastructure investment that we can't make for the API for the time being. :( But I'll leave it on the distant future wishlist: I would love to see this too someday.