In this post, we will walk you through the process of integrating the Marple API into your workflow, along with highlighting some of its key benefits and functionalities. We will cover how to set up the API, upload and import files, manage metadata, and share projects and sources, making your data management and visualization effortless.
In this post, we will walk you through the process of integrating the Marple API into your workflow, along with highlighting some of its key benefits and functionalities. We will cover how to set up the API, upload and import files, manage metadata, and share projects and sources, making your data management and visualization effortless.
The Marple API is a set of programming interfaces that allows developers to interact with Marple's functionalities programmatically. This enables you to automate tasks, integrate Marple with other software, and customize its use to fit your specific requirements. Whether you're a data scientist, engineer, or developer, the Marple API opens up new possibilities for efficient and effective data management and visualization.
On a technical level, Marple offers an HTTP API, as well as an SDK for python. For MATLAB, we have a code example available here.
The Marple API gives four key benefits to users and their whole team:
The following functionalities are available in the Marple API:
1. Uploading and Importing Files: Files can be uploaded to Marple's server and then imported into the database for analysis. This two-step process ensures data is correctly logged and accessible. For importing, we have a set of plugins available that can extract data from common file types such as TDMS, CSV, MAT, etc.
2. Adding Metadata: Metadata is crucial for organizing the data, even in small teams. The API allows developers to add, update, and manage metadata associated with each data source. This makes the process a lot more resilient, instead of people manually having to enter metadata.
3. Sharing Projects and Sources: Collaborate effortlessly by sharing projects and specific data sources. The API facilitates generating share links with a set of pre-made graphs, enabling team members to access and visualize data easily.
For a more detailed explanation, read the full explanation in our documentation. Below, we give a short example in Python on how to 1) upload a file 2) import it, and 3) get a share link.
As a Marple admin, head to the Settings / Tokens page. Make a new token for your project.
Add the API token to your python script:
Upload the file to Marple using the upload_data_file
function:
Importing will start automatically, you can check the progress going from 0 to 100:
To quickly jump into an analysis, the killing feature of the API is to generate a Marple share link. Make sure to first create a project manually, with the graphs organised the way you want to see them. Save the project, for example with the name Project-API-example
.
Generate the share link using the SDK as following:
The Marple API is a versatile and powerful tool that can transform how you handle and visualize data. By automating tasks, integrating with other tools, and customizing functionalities to meet your specific needs, the Marple API empowers you to unlock the full potential of your data. Ready to get started? Explore our API Documentation and begin your integration journey today.
For more insights and detailed guides, stay tuned to our blog and follow us on LinkedIn for the latest updates.