Function needed that takes in a string.
Compares string with SteamAPI required formatting
Can throw an error, or return something/not, if input does not meet API requirements
Otherwise, if string is acceptable, query the API for the information about the user's name (the input string)
Either: calls a SteamAPIFetchUserInfo() upon successful string input
or
returns simple true/false to the function that called this very nameChecker(), which will then either call the API, or show the user that the name is not accepted
All done. Merged with main, and SteamNameHandler branch probably won't be used again (Unless debugging)
Test function in ~/Tests/Test_StameNameCheck/Test_StameNameCheck.py
Function needed that takes in a string. Compares string with SteamAPI required formatting Can throw an error, or return something/not, if input does not meet API requirements Otherwise, if string is acceptable, query the API for the information about the user's name (the input string)
Either: calls a SteamAPIFetchUserInfo() upon successful string input or returns simple true/false to the function that called this very nameChecker(), which will then either call the API, or show the user that the name is not accepted
I like the second option