Skip to content

Installation

  • Python 3.8 or higher
  • pip (bundled with all standard Python distributions)

The SDK has a single runtime dependency — requests — which pip installs automatically.

Terminal window
pip install MagicFeedback

To pin a specific version in your project:

Terminal window
pip install MagicFeedback==1.0.14

Or add it to your requirements.txt:

MagicFeedback>=1.0.14
from magicfeedback_sdk import MagicFeedback
print("SDK imported successfully")

The SDK connects to https://api.magicfeedback.io by default. You can point it at a different base URL by passing the base_url argument to the constructor:

client = MagicFeedback(
user="you@example.com",
password="your-password",
base_url="https://api-dev.magicfeedback.io",
)