dyc3 / steamguard-cli

A linux utility for generating 2FA codes for Steam and managing Steam trade confirmations.
GNU General Public License v3.0
545 stars 36 forks source link

Option to add SteamGuard using a phone number #392

Open DeverBa opened 3 months ago

DeverBa commented 3 months ago

Description

Would be nice to add a separate option to add SteamGuard using a phone number.

dyc3 commented 2 months ago

So as it stands right now, I can't figure out a good way to automatically determine whether or not a steam account already has a phone number set up. The previous method was pinging https://steamcommunity.com/steamguard/phoneajax with op=has_phone, but that doesn't seem to work anymore. Additionally, IPhoneService and ITwoFactorService also doesn't provide any methods to check phone number status.