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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shopee-api-wrapper-0.2.1.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file shopee-api-wrapper-0.2.1.tar.gz.

File metadata

  • Download URL: shopee-api-wrapper-0.2.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for shopee-api-wrapper-0.2.1.tar.gz
Algorithm Hash digest
SHA256 094b0a06137427805dd1eadfb0e5af3c06f47f6d6027a7ba21584e7d1f84a0aa
MD5 301d0e86596cd3d69eace1317082bc64
BLAKE2b-256 50894d4d3e3ff3c191834e35e9358ad94be4ef4e9caf1b4110103a0528dacf73

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 file

0.1.1

1 file

0.1.0

1 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