A package to interact with Enfusion API and retrieve data as pandas DataFrames.
Project description
Enfusion API
A Python package to interact with the Enfusion API and retrieve data as pandas DataFrames. This package uses the same mechanism as the excel plug-in.
Installation
You can install the Enfusion API package using pip:
pip install enfusion_api
Usage
Here are examples of how to use the Enfusion API package:
Without Authentication (When Already Logged In)
If you're already logged into the Enfusion software on your machine, you can use the API without providing credentials:
from enfusion_api import EnfusionAPI
# Create an instance of EnfusionAPI without authentication
api = EnfusionAPI()
# Define the webservice URLs you want to fetch data from
urls = ["https://your-enfusion-report-url.com"]
# Get the data
dataframes = api.get_data(urls)
# Process the dataframes
for df in dataframes:
print(df.head())
Webservice URLs are accessed from within Enfusion on My Reports, right click and "Copy Web Service URL":
With Authentication
If you need to provide authentication details:
from enfusion_api import EnfusionAPI
# Create an instance of EnfusionAPI with authentication
api = EnfusionAPI(
admin_user_name="your_admin_username",
admin_password="your_admin_password",
user_name="your_username",
password="your_password"
)
# Define the URLs you want to fetch data from
urls = ["https://your-enfusion-report-url.com"]
# Get the data
dataframes = api.get_data(urls)
# Process the dataframes
for df in dataframes:
print(df.head())
Note: Reconciliation Reports (.diff) are not currently supported without authentication.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file enfusion_api-0.1.0.tar.gz.
File metadata
- Download URL: enfusion_api-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b99c20f1abdacb3d41f89ed3b91ab30e235abd2c71fd85a2aaa6ae17ab70927e
|
|
| MD5 |
76fffe52860b039ca9cdb16cf6e1e22a
|
|
| BLAKE2b-256 |
ae617af63cdedad06b4dc143fc742d3a76c8fdfd34d797e00aae7e6ce43e16f1
|
File details
Details for the file enfusion_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: enfusion_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcdf73f32f96886ce8374bc41f139cf5148769933e0257239945b0b7f098134c
|
|
| MD5 |
0fa84e291232787dd6ad1c9a77cbc75c
|
|
| BLAKE2b-256 |
9cb5989068d00a447f5192e34b0cc90243532311f5af2939c45bc3ee30f1b3b3
|