Skip to content

Commit

Permalink
Merge pull request #21 from Fuyucch1/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
herissondev authored Nov 12, 2024
2 parents b85d75b + 21d3289 commit 831589f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import setuptools


VERSION = "0.5.0"
VERSION = "0.5.1"
DESCRIPTION = "Vinted API wrapper for python"

with open("README.md", "r", encoding="utf-8") as fh:
Expand Down
4 changes: 2 additions & 2 deletions src/pyVinted/items/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ def __init__(self, data):
self.size_title = data["size_title"]
except:
self.size_title = data["size_title"]
self.currency = data["currency"]
self.price = data["price"]
self.currency = data["price"]["currency_code"]
self.price = data["price"]["amount"]
self.photo = data["photo"]["url"]
self.url = data["url"]
self.created_at_ts = datetime.fromtimestamp(
Expand Down

0 comments on commit 831589f

Please sign in to comment.