Mercapi

Latest version: v0.4.1

Safety actively analyzes 624963 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.4.1

What's Changed
* fix: Status filtering (25) by take-kun in https://github.com/take-kun/mercapi/pull/26
* Fix optional SellerItem.item_category by take-kun in https://github.com/take-kun/mercapi/pull/28
* CI release action fix by take-kun in https://github.com/take-kun/mercapi/pull/29
* Fix example.py by Kajaqq in https://github.com/take-kun/mercapi/pull/24

New Contributors
* Kajaqq made their first contribution in https://github.com/take-kun/mercapi/pull/24

**Full Changelog**: https://github.com/take-kun/mercapi/compare/v0.4.0...0.4.1

0.4.0

**BREAKING CHANGE** Changed API of `Mercapi.search` function. All parameters except for `query` are now **keyword-only**.

Features
* excludeKeywords by EttOrm in https://github.com/take-kun/mercapi/pull/18
* Sorting order support by take-kun in https://github.com/take-kun/mercapi/pull/19

Fixes
* bug fixes by loadstarCN in https://github.com/take-kun/mercapi/pull/17

Other
* Additional tests for 17 by take-kun in https://github.com/take-kun/mercapi/pull/20
* chore: Drop support for Python 3.7 by take-kun in https://github.com/take-kun/mercapi/pull/22

New Contributors
* EttOrm made their first contribution in https://github.com/take-kun/mercapi/pull/18
* loadstarCN made their first contribution in https://github.com/take-kun/mercapi/pull/17

**Full Changelog**: https://github.com/take-kun/mercapi/compare/v0.3.0...v0.4.0

0.3.0

**BREAKING CHANGE** Dropped support for mapping protocol, i.e. accessing response models properties with `object['key']` will not work anymore. Migrate to `dataclasses.asdict(object)['key']`.

Features
- [dataclasses](https://docs.python.org/3/library/dataclasses.html) support implemented for response objects (#11)
- search results (`SearchResults`) pagination methods (14)
- fetching full item details (`Item`) from seller profile listing (`Items/SellerItem`)

0.2.2

Fixes
- nested lists of `ResponseModel` objects not included in dictionary casting (8)

0.2.1

Fixes
- nested models not included in dictionary casting (5)

0.2.0

Features
- all data model classes (subclasses of `ResponseModel`) implement mapping protocol and can be used as dictionaries

Fixes
- subclasses of `ResponseModel` properly use typed named tuples for lists of properties

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.