Go to your Library. Right click the installed game and choose "Create desktop shortcut". Go to your Desktop and locate the new shortcut. Right-click on the shortcut and select Properties. Look at the target path for the number following steam://rungameid/. This number is the Application ID for the game. Share. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.