Skip to main content

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)

Source distribution for shopee-api-wrapper 0.2.1
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

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page