Skip to content

High-level client #24

@dekuenstle

Description

@dekuenstle

The basic dmsclient is only an minimal abstraction of the rest requests. Usually the only way of filtering is through a product id. Still, the most common usecases would require exact or fuzzy filtering by the name or similar. The cli solves e.g. the issue to buy a product with a fuzzy name by querying all products, matching the products to the fuzzy name (with util functions of the core) and then buy with the matched product's id.

This functionality should be available directly through a high level client which handles multiple rest-api calls and matching itself. If done properly, the methods of the cli.py should be reduceable to client calls and i/o. Still unclear is, how to handle feedback cases: E.g. if the fuzzy product name matches multiple, the cli asks the user about which is meant. Any suggestions how to handle this by @smoehrle or others?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions