Skip to main content

SDK for MagicFeedback API

Project description

MagicFeedback SDK

A Python SDK for interacting with the MagicFeedback API

Installation

Bash

pip install MagicFeeedback

Use code with caution.

Usage

Python

from magicfeedback import MagicFeedbackClient

# Create a MagicFeedbackClient instance
client = MagicFeedbackClient('email', 'password')

# Create a new feedback item
feedback_data = {
    "name": "Test Feedback",
    "type": "DOCUMENT",
    # ... other required fields
}
response = client.create_feedback(feedback_data)

# Print the response
print(response)

API Reference

  • create_feedback(feedback): Creates a new feedback item.
  • get_feedback(feedback_id): Retrieves a specific feedback item.
  • update_feedback(feedback_id, feedback): Updates a specific feedback item.
  • delete_feedback(feedback_id): Deletes a specific feedback item.

Additional Information

  • Authentication: The SDK requires an user / password for authentication. You can obtain from the MagicFeedback platform.
  • Error Handling: The SDK handles common API errors and raises appropriate exceptions.
  • Customizations: You can customize the SDK to fit your specific needs by extending the MagicFeedbackClient class or creating additional helper functions.

License

This project is licensed under the MIT License.

Contact

For any questions or support, please contact farias@magicfeedback.io.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

magicfeedback-0.0.2.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

MagicFeedback-0.0.2-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page