namachieli / numista-api-sdk

A Python SDK for the Numista API
MIT License
6 stars 0 forks source link

addCollectedItem() needs to be renamed to addCollectedItems() to match API #20

Open namachieli opened 2 years ago

namachieli commented 2 years ago
post:
  summary: Add an item in the user collection
  description: This functionality requires the OAuth 2.0 authentication with the scope "edit_collection".
  operationId: addCollectedItems
- def addCollectedItem(
+ def addCollectedItems(
    self,
    user_id: int = int(),
    body: dict = dict(),
    token_label: str = "self",
    **kwargs,
) -> dict:

Ensure documentation is updated.

xavier-dev commented 2 years ago

Hello, Shall I rather fix the Numista documentation so that we use the name addCollectedItem?