Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rpm/quads-lib.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
%define name quads-lib
%define reponame python-quads-lib
%define branch development
%define version 0.1.13
%define version 0.1.14
%define build_timestamp %{lua: print(os.date("%Y%m%d"))}

Summary: Python client library for interacting with the QUADS API
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def read(*names, **kwargs):

setup(
name="quads-lib",
version="0.1.13",
version="0.1.14",
license="LGPL-3.0-only",
description="Python client library for interacting with the QUADS API",
long_description="{}\n{}".format(
Expand Down
2 changes: 1 addition & 1 deletion src/quads_lib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.13"
__version__ = "0.1.14"

from .quads import QuadsApi

Expand Down
4 changes: 2 additions & 2 deletions src/quads_lib/quads.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def login(self) -> dict:
self.session.headers.update({"Authorization": f"Bearer {self.token}"})
return json_response

def get_current_user(self) -> dict:
return self.get("me")
def get_user(self, email: str) -> dict:
return self.get(f"users/{email}")

def logout(self) -> dict:
json_response = self._make_request("POST", "logout")
Expand Down
Loading