shopee-api-wrapper


Nameshopee-api-wrapper JSON
Version 0.2.1 PyPI version JSON
download
home_page
SummaryA simple library that communicates with the Shopee website API.
upload_time2024-02-10 17:59:52
maintainer
docs_urlNone
authorMarcuth
requires_python
licenseMIT License
keywords shopee api crawler scraper product shop
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Shopee API Wrapper - Not official

## Install

```
pip install shopee-api-wrapper
```

## Quickstart

## Fetch product

```py
from shopee_api import Shopee

def main():
    # Configuring origin of endpoints
    shopee = Shopee(origin_url = "https://shopee.com.br")

    # Fetching product by URL
    data = shopee.fetch_product(url = "https://shopee.com.br/Videogame-Stick-10mil-2-Controles-Sem-Fio-Console-Original-Portatil-Jogos-Retro-Antigo-Marisa-i.400311012.18265078100")

    # Printing data to the terminal
    print(data)

if __name__ == "__main__":
    main()
```

*Detail: you don't need to do this `def main(): ...;if __name__ == "__main__": main()` structure, it's just good practice :)*

That's it for now, if you have any suggestions, don't hesitate to create an Issue

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "shopee-api-wrapper",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "shopee api crawler scraper product shop",
    "author": "Marcuth",
    "author_email": "example@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/50/89/4d4d3e3ff3c191834e35e9358ad94be4ef4e9caf1b4110103a0528dacf73/shopee-api-wrapper-0.2.1.tar.gz",
    "platform": null,
    "description": "# Shopee API Wrapper - Not official\r\n\r\n## Install\r\n\r\n```\r\npip install shopee-api-wrapper\r\n```\r\n\r\n## Quickstart\r\n\r\n## Fetch product\r\n\r\n```py\r\nfrom shopee_api import Shopee\r\n\r\ndef main():\r\n    # Configuring origin of endpoints\r\n    shopee = Shopee(origin_url = \"https://shopee.com.br\")\r\n\r\n    # Fetching product by URL\r\n    data = shopee.fetch_product(url = \"https://shopee.com.br/Videogame-Stick-10mil-2-Controles-Sem-Fio-Console-Original-Portatil-Jogos-Retro-Antigo-Marisa-i.400311012.18265078100\")\r\n\r\n    # Printing data to the terminal\r\n    print(data)\r\n\r\nif __name__ == \"__main__\":\r\n    main()\r\n```\r\n\r\n*Detail: you don't need to do this `def main(): ...;if __name__ == \"__main__\": main()` structure, it's just good practice :)*\r\n\r\nThat's it for now, if you have any suggestions, don't hesitate to create an Issue\r\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A simple library that communicates with the Shopee website API.",
    "version": "0.2.1",
    "project_urls": null,
    "split_keywords": [
        "shopee",
        "api",
        "crawler",
        "scraper",
        "product",
        "shop"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "50894d4d3e3ff3c191834e35e9358ad94be4ef4e9caf1b4110103a0528dacf73",
                "md5": "301d0e86596cd3d69eace1317082bc64",
                "sha256": "094b0a06137427805dd1eadfb0e5af3c06f47f6d6027a7ba21584e7d1f84a0aa"
            },
            "downloads": -1,
            "filename": "shopee-api-wrapper-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "301d0e86596cd3d69eace1317082bc64",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2619,
            "upload_time": "2024-02-10T17:59:52",
            "upload_time_iso_8601": "2024-02-10T17:59:52.239697Z",
            "url": "https://files.pythonhosted.org/packages/50/89/4d4d3e3ff3c191834e35e9358ad94be4ef4e9caf1b4110103a0528dacf73/shopee-api-wrapper-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-10 17:59:52",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "shopee-api-wrapper"
}
        
Elapsed time: 0.17980s