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

smartetailing

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smartetailing

Connect to the smartetailing website order feeds

  • 0.4.5
  • PyPI
  • Socket score

Maintainers
1

Smartetailing Package

This package provides a simple, thin wrapper around the 3 major smartetailing endpoints. It also provides a Pythonic object representation of the order xml export. v2.00 is the XML version currently required.

Examples

  • Basically, just instantiate SmartetailingConnection() object and call the public methods.
    from smartetailing import connection, objects
    
    connect_website = connection.SmartetailingConnection(base_url='www.example.com/webservices/xml/feeds.cfc', merchant_id=01234, urlkey='SECRET')
    orders = list(connect_website.export_orders())  # List[WebOrder]
    connect_website.confirm_order_receipts([o.id for o in orders])
    connect_website.update_order_status(orders[0].id, 'Completed')
    
  • TODO - Doc comments need to be better

Notes

  • Currently only supports smart etailing order export v2. Support for v1 could be added if requested.
  • Setup instructions from here: https://realpython.com/pypi-publish-python-package/

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