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-1.0.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

magicfeedback-1.0.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file magicfeedback-1.0.0.tar.gz.

File metadata

  • Download URL: magicfeedback-1.0.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for magicfeedback-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d31833b7768575c57c2ceb6feba8877e1536524e0304db658d9232fe11eca293
MD5 20c7a800c52456a3936c0679864883b1
BLAKE2b-256 b04fa97d9a8e6db20e7e1150d838f6a5fa9da146fa48c088b6d2385fa145eb7d

See more details on using hashes here.

File details

Details for the file magicfeedback-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: magicfeedback-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for magicfeedback-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 393cf47259902d1d7b04d2462acceafe33426d07a980b46a9b4e07e4c2f220c9
MD5 bae095ecdebef9facb6f7dccf2ceb0eb
BLAKE2b-256 1ff46dad7d04741e09460760539be8e46ce3292f1ea2ffa02daab168c0b04306

See more details on using hashes here.

Supported by

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