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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: canonicalwebteam.store-api
3
- Version: 6.2.0
3
+ Version: 6.3.0
4
4
  Summary:
5
5
  License: LGPL-3.0
6
6
  Author: Canonical Web Team
@@ -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
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = 'canonicalwebteam.store-api'
3
- version = '6.2.0'
3
+ version = '6.3.0'
4
4
  description = ''
5
5
  authors = ['Canonical Web Team <webteam@canonical.com>']
6
6
  license = 'LGPL-3.0'