Shopee API Wrapper - Not official
Install
pip install shopee-api-wrapper
Quickstart
Fetch product
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
Metadata
Release files for shopee-api-wrapper 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| shopee-api-wrapper-0.2.1.tar.gz | 2.6 kB | Details |
Release files / shopee-api-wrapper-0.2.1.tar.gz
| Download URL | shopee-api-wrapper-0.2.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
094b0a06137427805dd1eadfb0e5af3c06f47f6d6027a7ba21584e7d1f84a0aa
|
|
BLAKE2b-256 checksum How to use checksums |
50894d4d3e3ff3c191834e35e9358ad94be4ef4e9caf1b4110103a0528dacf73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|