Skip to content

Version 1.3.0

Choose a tag to compare

@1ClickImpact 1ClickImpact released this 30 Mar 01:45
· 2 commits to main since this release

Added

  • Projects API: New getProjects() method to retrieve all available environmental impact projects
    • Filter by impact type: "trees", "ocean", or "carbon"
    • Supports localization with locale parameter ("en", "de", "es", "fr", "nl")
    • Returns full project details including name, location, description, images, coordinates, and SDG alignments
  • Get Project by ID API: New getProjectById(projectId) method to fetch a specific project by its unique identifier
    • Supports optional locale parameter for localized content
  • 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: TrackResponse now includes projectID field — returns the ID of the project associated with a tracked impact
  • Records Sorting: Added sortOrder parameter to GetRecordsParams — allows sorting records via sort_order query param in both getRecords() and getCustomerRecords()

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