Steam already has an inventory service, trusted by millions of players to store billions of items. There is already machinery for users to authorise applications to see their inventory. If a game developer wanted to allow use of another game's inventory in their own game, they could already do this.