neris-api-client 1.3.2__tar.gz → 1.3.4__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
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: neris_api_client
3
- Version: 1.3.2
3
+ Version: 1.3.4
4
4
  Summary: NERIS API Client
5
5
  Author-email: Ben Coleman <ben.coleman@ul.org>, Tommy Messbauer <thomas.messbauer@ul.org>, Joseph Pagani <joseph.pagani@ul.org>
6
6
  Project-URL: Homepage, https://github.com/ulfsri/neris-api-client
@@ -14,6 +14,7 @@ License-File: LICENSE
14
14
  Requires-Dist: requests
15
15
  Requires-Dist: pydantic[email]>=2
16
16
  Requires-Dist: python-dotenv
17
+ Dynamic: license-file
17
18
 
18
19
  # NERIS API Client
19
20
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "neris_api_client"
7
- version = "1.3.2"
7
+ version = "1.3.4"
8
8
  authors = [
9
9
  { name="Ben Coleman", email="ben.coleman@ul.org" },
10
10
  { name="Tommy Messbauer", email="thomas.messbauer@ul.org" },
@@ -316,8 +316,8 @@ class NerisApiClient(_NerisApiClient):
316
316
  def create_api_integration(self, neris_id: str, title: str) -> Dict[str, Any]:
317
317
  return self._call("post", f"/account/integration/{neris_id}", data={ "title": title })
318
318
 
319
- def generate_api_secret(self, client_id: str) -> Dict[str, Any]:
320
- return self._call("post", f"/account/credential/{client_id}")
319
+ def generate_api_secret(self, client_id: str, title: str) -> Dict[str, Any]:
320
+ return self._call("post", f"/account/credential/{client_id}", data={ "title": title })
321
321
 
322
322
  def list_integrations(self, neris_id: str) -> Dict[str, Any]:
323
323
  return self._call("get", f"/account/integration/{neris_id}/list")