Skip to content

v0.1.1

Latest

Choose a tag to compare

@GSejas GSejas released this 17 Nov 17:43
· 10 commits to main since this release

Release Notes for mochi-api-client v0.1.1

Features

  • Initial release of the Mochi API Client.
  • Provides a Python client for interacting with the Mochi API.
  • Supports managing cards, decks, and templates.
  • Includes methods for creating, retrieving, updating, and deleting cards and decks.
  • Supports custom fields and attachments in cards.

(latest) Improvements

  • Comprehensive documentation with examples.
  • Added class and sequence diagrams for better understanding of the client structure and interactions.
  • Implemented unit tests for core functionalities.

Bug Fixes

  • N/A (Initial release)

Known Issues

  • None reported

API features not implemented

Installation

Install the Mochi API Client using pip:

pip install mochi-api-client

Usage

Here's a quick example to get you started:

from mochi.client import Mochi
from mochi.auth import Auth

auth = Auth.Token("your_api_key")
mochi = Mochi(auth=auth)

# List decks
decks = mochi.decks.list_decks()
print(decks)

# Create a new deck if none exist
if len(decks) < 1:
    new_deck = mochi.decks.create_deck(name="My new deck")
    print(new_deck)

For detailed documentation, visit the Mochi API Documentation.