Open
Description
Hello Folks,
We have heard repeatedly that there should be a way to repeatedly use the APIs without initializing the context manager. Hence I have a made a simple implementation and I look forward to your feedback.
The new client api works like:
from magento import Client
# Initialise a client
client = Client('http://yourstore.com', 'api username', 'api password')
# Call the tree method in the catalog_category API
client.catalog_category.tree()
# Get the list of products
client.catalog_product.list()
- Should be completely thread safe
- Implement catalog methods (d0904f8)
- Implement miscellaneous methods
- Implement customer methods
- Implement directory methods
- Implement sales methods
- Implement checkout methods
- Documentation on new usage pattern
- Update the README
Metadata
Metadata
Assignees
Labels
No labels