# 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": "Vinted-api-scraper",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "python, Vinted api, Vinted API wrapper, python vinted",
"author": "Simon BEGUIN",
"author_email": "simon.beguin7@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/7b/5f/fc4a42a3d30d500db291a1696932f0769d2262918228970b08dd1e183b3f/Vinted_api_scraper-0.5.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": "Vinted API wrapper for python",
"version": "0.5.0",
"project_urls": {
"Homepage": "https://github.com/simonbeguin/Vinted_api_scraper"
},
"split_keywords": [
"python",
" vinted api",
" vinted api wrapper",
" python vinted"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a472bc16d97aa2a4e0644dd9ee8170ec5f4b8b78c2822758aa3f27c1094fee81",
"md5": "a42146b53d8e6c4c85dbfc72bfc544da",
"sha256": "36a01d81984f757da1135af2b03a6141cfe2dd47caa331e584acc112a97076de"
},
"downloads": -1,
"filename": "Vinted_api_scraper-0.5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a42146b53d8e6c4c85dbfc72bfc544da",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 6526,
"upload_time": "2024-07-03T13:13:00",
"upload_time_iso_8601": "2024-07-03T13:13:00.231524Z",
"url": "https://files.pythonhosted.org/packages/a4/72/bc16d97aa2a4e0644dd9ee8170ec5f4b8b78c2822758aa3f27c1094fee81/Vinted_api_scraper-0.5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7b5ffc4a42a3d30d500db291a1696932f0769d2262918228970b08dd1e183b3f",
"md5": "084a35a755d39a7dee92a3f1e373335e",
"sha256": "4f147ac93efaf8e16edcdc8208c0ae36d9ab6fe5c5f540ebd581d8790568e2ec"
},
"downloads": -1,
"filename": "Vinted_api_scraper-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "084a35a755d39a7dee92a3f1e373335e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4969,
"upload_time": "2024-07-03T13:13:01",
"upload_time_iso_8601": "2024-07-03T13:13:01.554602Z",
"url": "https://files.pythonhosted.org/packages/7b/5f/fc4a42a3d30d500db291a1696932f0769d2262918228970b08dd1e183b3f/Vinted_api_scraper-0.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-03 13:13:01",
"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": "vinted-api-scraper"
}