Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shopee-api-wrapper

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shopee-api-wrapper

A simple library that communicates with the Shopee website API.

  • 0.2.1
  • PyPI
  • Socket score

Maintainers
1

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc