# Vinted-Api-Wrapper
Simple python package that uses the Vinted API to search new posts.
## Install
Simpely install package using pip :
```
pip install pyVinted
```
## Example
```py
from pyVinted import Vinted
vinted = Vinted()
# search(url, number_of_items, page_number)
items = vinted.items.search("https://www.vinted.fr/vetement?order=newest_first&price_to=60¤cy=EUR",10,1)
#returns a list of objects: item
```
You can access Item attributes as shown here:
```py
item1 = items[0]
#title
item1.title
#id
item1.id
#photo url
item1.photo
#brand
item1.brand_title
#price
item1.price
#url
item1.url
#currency
item1.currency
```
Raw data
{
"_id": null,
"home_page": "https://github.com/aime-risson/vinted-api-wrapper",
"name": "pyVinted",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "python, Vinted api, Vinted API wrapper, python vinted",
"author": "Aim\u00e9 Risson",
"author_email": "aime.risson.1@gmail.fr",
"download_url": "https://files.pythonhosted.org/packages/88/5d/49f04203da3875648c7f43112c966dea3a9ed9eb0678646a95c5fb4db75c/pyvinted-0.5.2.tar.gz",
"platform": null,
"description": "# Vinted-Api-Wrapper\nSimple python package that uses the Vinted API to search new posts.\n\n## Install\nSimpely install package using pip :\n```\npip install pyVinted\n```\n## Example\n\n```py\nfrom pyVinted import Vinted\n\nvinted = Vinted()\n\n# search(url, number_of_items, page_number)\nitems = vinted.items.search(\"https://www.vinted.fr/vetement?order=newest_first&price_to=60¤cy=EUR\",10,1)\n#returns a list of objects: item\n\n```\nYou can access Item attributes as shown here:\n```py\nitem1 = items[0]\n#title\nitem1.title\n#id\nitem1.id\n#photo url\nitem1.photo\n#brand\nitem1.brand_title\n#price\nitem1.price\n#url\nitem1.url\n#currency\nitem1.currency\n```\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Vinted API wrapper for python",
"version": "0.5.2",
"project_urls": {
"Homepage": "https://github.com/aime-risson/vinted-api-wrapper"
},
"split_keywords": [
"python",
" vinted api",
" vinted api wrapper",
" python vinted"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d76170392f52feff10f81650e80609b3ad4fe47b3224cc69e8a4f768966805fd",
"md5": "565e4c6978cbed5c8dd1e9ec293756fa",
"sha256": "9a9c4ea80452b9076a74c7576df014368b716c015d8cf9a7ac6f5dc906159512"
},
"downloads": -1,
"filename": "pyVinted-0.5.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "565e4c6978cbed5c8dd1e9ec293756fa",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 6299,
"upload_time": "2024-11-26T19:55:09",
"upload_time_iso_8601": "2024-11-26T19:55:09.507076Z",
"url": "https://files.pythonhosted.org/packages/d7/61/70392f52feff10f81650e80609b3ad4fe47b3224cc69e8a4f768966805fd/pyVinted-0.5.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "885d49f04203da3875648c7f43112c966dea3a9ed9eb0678646a95c5fb4db75c",
"md5": "a6168998a5ffa2e371cf58a9b7879c29",
"sha256": "02ae67170d9660a4cbf9fa3b3670ffe569705936d963cfac2502bf9a2cb6ce86"
},
"downloads": -1,
"filename": "pyvinted-0.5.2.tar.gz",
"has_sig": false,
"md5_digest": "a6168998a5ffa2e371cf58a9b7879c29",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 5545,
"upload_time": "2024-11-26T19:55:11",
"upload_time_iso_8601": "2024-11-26T19:55:11.382606Z",
"url": "https://files.pythonhosted.org/packages/88/5d/49f04203da3875648c7f43112c966dea3a9ed9eb0678646a95c5fb4db75c/pyvinted-0.5.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-26 19:55:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "aime-risson",
"github_project": "vinted-api-wrapper",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pyvinted"
}