Unofficial REST API for Ghostfolio.
Supports documented and undocumented APIs
pip install ghostfolio
from ghostfolio import Ghostfolio
client = Ghostfolio(token="your_token")
Or if you want to connect to your self-hosted Ghostfolio instance:
from ghostfolio import Ghostfolio
client = Ghostfolio(token="your_token", host="https://your-ghostfolio-instance.com")