Skip to content

Version 1.2.2

Choose a tag to compare

@1ClickImpact 1ClickImpact released this 09 Jan 16:08
· 3 commits to main since this release

Added

  • Track API Enhancement: Added certificate field to TrackResponse - provides certificate URL for impacts (only available in production environment)
  • Impact API Breakdown: Enhanced get_impact() to include detailed breakdown:
    • user_impact: Impact metrics generated directly by your organization
    • customer_impact: Impact metrics generated on behalf of your customers
    • Both breakdown objects include tree_planted, waste_removed, carbon_captured, and money_donated fields
  • Daily Impact API: New get_daily_impact() method for time-series impact data
    • Returns daily impact records with date, trees planted, waste removed, carbon captured, and money donated
    • Supports optional date range filtering with start_date and end_date parameters (YYYY-MM-DD format)
    • New types: DailyImpactResponse, DailyImpactRecord, ImpactBreakdown

Changed

  • Updated ImpactResponse to include user_impact and customer_impact breakdown fields
  • Enhanced documentation with examples for new impact breakdown and daily impact features
  • Updated test suite to validate new fields and functionality

Documentation

  • Updated README with examples for impact breakdown and daily impact retrieval
  • Added certificate field documentation to Track API section
  • Improved examples showing how to access direct vs customer impact metrics

Full Changelog: v1.2.0...v1.2.2