Version 1.3.0
Added
- Projects API: New
getProjects()method to retrieve all available environmental impact projects- Filter by impact type:
"trees","ocean", or"carbon" - Supports localization with
localeparameter ("en","de","es","fr","nl") - Returns full project details including name, location, description, images, coordinates, and SDG alignments
- Filter by impact type:
- Get Project by ID API: New
getProjectById(projectId)method to fetch a specific project by its unique identifier- Supports optional
localeparameter for localized content
- Supports optional
- SDG Data: Projects now include Sustainable Development Goal (SDG) alignments with full metadata — number, title, description, color, link, and icon URL
- New Types:
GetProjectsParams,GetProjectsResponse,Project,SDG
Changed
- Track API Enhancement:
TrackResponsenow includesprojectIDfield — returns the ID of the project associated with a tracked impact - Records Sorting: Added
sortOrderparameter toGetRecordsParams— allows sorting records viasort_orderquery param in bothgetRecords()andgetCustomerRecords()
Documentation
- Updated README with examples for project listing, project filtering by type, and fetching individual project details
- Added SDG field documentation to Project type section
- Improved examples showing how to integrate project data into your impact UI
Full Changelog: v1.2.2...v1.3.0