We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, i have this error:
and my code is : `import pytf2
class initialisation: def init(self, cache: bool=True, bp_api_key: str='', bp_user_token: str='', mp_api_key: str='', no_rate_limits: bool=False, bypass_cf: bool=False): pass
class currency: def pp_currency(keys, metal, key_name: str="key", metal_name: str="ref"): pass
stemids = ''
info = pytf2.bp_user_info(self, steamids, parse=True)
` Can you help me?
The text was updated successfully, but these errors were encountered:
Sorry, saw this when you posted it and forgot to reply. Initialise the module like in the readme, passing in your bp.tf api key:
import pytf2 tf2_manager = pytf2.Manager(bp_api_key="key")
then you can call the method:
info = tf2_manager.bp_user_info(["steamid"])
I'd recommend reading some tutorials on how to use classes, it seems like you're quite new to python.
Sorry, something went wrong.
Hello, ty for reply Yes i'm new in python but i didn't understand how to use classes :(
mninc
No branches or pull requests
Hello, i have this error:
and my code is :
`import pytf2
class initialisation:
def init(self, cache: bool=True, bp_api_key: str='', bp_user_token: str='', mp_api_key: str='', no_rate_limits: bool=False, bypass_cf: bool=False):
pass
class currency:
def pp_currency(keys, metal, key_name: str="key", metal_name: str="ref"):
pass
stemids = ''
info = pytf2.bp_user_info(self, steamids, parse=True)
`
Can you help me?
The text was updated successfully, but these errors were encountered: