# Vinted-Api-Wrapper
Simple python package that uses the Vinted API to search new posts.
## Install
Simpely install package using pip :
```
pip install Vinted_api_scraper
```
## Example
```py
from Vinted_api_scraper 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/simonbeguin/Vinted_api_scraper",
"name": "pyVinteddd",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Simon BEGUIN",
"author_email": "simon.beguin7@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/15/59/0659a90ee918bc0c4d37dab00348584bd8d59eb6fb26a5cc6c50ceda0ae2/pyVinteddd-0.2.0.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 Vinted_api_scraper\n```\n## Example\n\n```py\nfrom Vinted_api_scraper 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\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Une description de votre biblioth\u00e8que",
"version": "0.2.0",
"project_urls": {
"Homepage": "https://github.com/simonbeguin/Vinted_api_scraper"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "acc626e8fd82c4c3dbac182f16aa080ede5fa895171d69a1b6acf6604fa15892",
"md5": "50c9674ad0c85d99a6ea1e1ae8265691",
"sha256": "eb62642bf0e86162577a531c2cedc9c6f94f0ecaa2967cf6bd01ebba42edefe0"
},
"downloads": -1,
"filename": "pyVinteddd-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "50c9674ad0c85d99a6ea1e1ae8265691",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 2371,
"upload_time": "2024-07-03T12:35:51",
"upload_time_iso_8601": "2024-07-03T12:35:51.320186Z",
"url": "https://files.pythonhosted.org/packages/ac/c6/26e8fd82c4c3dbac182f16aa080ede5fa895171d69a1b6acf6604fa15892/pyVinteddd-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "15590659a90ee918bc0c4d37dab00348584bd8d59eb6fb26a5cc6c50ceda0ae2",
"md5": "1d9645d7ad7817cc4f4c4dd2aba9170e",
"sha256": "e9b3dc97f58b8b07e7f0d87e11cc1af7f6f363f85a05abf8f45c2df9050b77d6"
},
"downloads": -1,
"filename": "pyVinteddd-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "1d9645d7ad7817cc4f4c4dd2aba9170e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 1736,
"upload_time": "2024-07-03T12:35:52",
"upload_time_iso_8601": "2024-07-03T12:35:52.858216Z",
"url": "https://files.pythonhosted.org/packages/15/59/0659a90ee918bc0c4d37dab00348584bd8d59eb6fb26a5cc6c50ceda0ae2/pyVinteddd-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-03 12:35:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "simonbeguin",
"github_project": "Vinted_api_scraper",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pyvinteddd"
}