Welcome to the EcoTrack SDK documentation. This guide will help you integrate EcoTrack into your application to monitor and manage environmental data efficiently.
EcoTrack SDK provides tools and APIs to integrate environmental data tracking into your applications. With EcoTrack, you can monitor carbon emissions, track renewable energy usage, and generate sustainability reports.
Unity 2019.4 or later
.NET Standard 2.0 or later
Download the latest version of the EcoTrack SDK from the .
Open your Unity project.
Go to Assets > Import Package > Custom Package
.
Select the downloaded EcoTrack SDK package.
Click Import
to add the SDK to your project.
To start using the EcoTrack SDK, you need to initialize it in your project. Add the following code to your main script:
Configure the SDK according to your needs. You can set various parameters like data update intervals, tracking preferences, and more.
Track carbon emissions generated by different activities in your application. Use the following API to log emissions:
Monitor the usage of renewable energy sources in your application. Log energy usage with the following code:
Generate sustainability reports based on the tracked data. You can customize the report parameters as needed:
Initializes the EcoTrack SDK with your API key.
Sets the interval for data updates.
Enables or disables carbon tracking.
Logs the amount of carbon emissions for a specific activity.
Enables or disables renewable energy tracking.
Logs the amount of energy used from a specific source.
Generates a sustainability report for the specified date range.
For any issues or questions, please visit our or contact us at support@ecotrack.com.