nextpyp.client.gen.AppsService#
- class nextpyp.client.gen.AppsService#
Bases:
objectService providing functions specific to apps, mainly requesting and managing app tokens
Methods
Request an app token for your app on behalf of a specific user.
Returns the version numbers of NextPYP
Details
- request_token(user_id, app_name, app_permission_ids)#
Request an app token for your app on behalf of a specific user. Once requested, the user will need to approve the token request on the website. After approval, the user can copy the app token (it’s a string) into your app.
- Permission Needed:
none
- Return type:
- Parameters:
user_id (str) –
app_name (str) –
app_permission_ids (List[str]) –
- versions()#
Returns the version numbers of NextPYP
- Permission Needed:
none
- Return type: