canonicalwebteam.store-api 6.2.0__tar.gz → 6.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {canonicalwebteam_store_api-6.2.0 → canonicalwebteam_store_api-6.3.0}/PKG-INFO +1 -1
- {canonicalwebteam_store_api-6.2.0 → canonicalwebteam_store_api-6.3.0}/canonicalwebteam/store_api/dashboard.py +9 -0
- {canonicalwebteam_store_api-6.2.0 → canonicalwebteam_store_api-6.3.0}/pyproject.toml +1 -1
- {canonicalwebteam_store_api-6.2.0 → canonicalwebteam_store_api-6.3.0}/LICENSE +0 -0
- {canonicalwebteam_store_api-6.2.0 → canonicalwebteam_store_api-6.3.0}/README.md +0 -0
- {canonicalwebteam_store_api-6.2.0 → canonicalwebteam_store_api-6.3.0}/canonicalwebteam/__init__.py +0 -0
- {canonicalwebteam_store_api-6.2.0 → canonicalwebteam_store_api-6.3.0}/canonicalwebteam/exceptions.py +0 -0
- {canonicalwebteam_store_api-6.2.0 → canonicalwebteam_store_api-6.3.0}/canonicalwebteam/store_api/__init__.py +0 -0
- {canonicalwebteam_store_api-6.2.0 → canonicalwebteam_store_api-6.3.0}/canonicalwebteam/store_api/base.py +0 -0
- {canonicalwebteam_store_api-6.2.0 → canonicalwebteam_store_api-6.3.0}/canonicalwebteam/store_api/devicegw.py +0 -0
- {canonicalwebteam_store_api-6.2.0 → canonicalwebteam_store_api-6.3.0}/canonicalwebteam/store_api/publishergw.py +0 -0
|
@@ -80,6 +80,15 @@ class Dashboard(Base):
|
|
|
80
80
|
)
|
|
81
81
|
return self.process_response(response)
|
|
82
82
|
|
|
83
|
+
def get_account_keys(self, session: dict) -> list:
|
|
84
|
+
"""
|
|
85
|
+
Returns the keys associated with a user account
|
|
86
|
+
Documentation:
|
|
87
|
+
https://dashboard.snapcraft.io/docs/reference/v1/account.html#get--dev-api-account
|
|
88
|
+
Endpoint: [GET] https://dashboard.snapcraft.io/dev/api/account
|
|
89
|
+
"""
|
|
90
|
+
return self.get_account(session).get("account-keys", [])
|
|
91
|
+
|
|
83
92
|
def get_account_snaps(self, session: dict) -> dict:
|
|
84
93
|
"""
|
|
85
94
|
Returns the snaps associated with a user account
|
|
File without changes
|
|
File without changes
|
{canonicalwebteam_store_api-6.2.0 → canonicalwebteam_store_api-6.3.0}/canonicalwebteam/__init__.py
RENAMED
|
File without changes
|
{canonicalwebteam_store_api-6.2.0 → canonicalwebteam_store_api-6.3.0}/canonicalwebteam/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|