Version 1.2.2
Added
- Track API Enhancement: Added
certificatefield toTrackResponse- 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 organizationcustomer_impact: Impact metrics generated on behalf of your customers- Both breakdown objects include
tree_planted,waste_removed,carbon_captured, andmoney_donatedfields
- 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_dateandend_dateparameters (YYYY-MM-DD format) - New types:
DailyImpactResponse,DailyImpactRecord,ImpactBreakdown
Changed
- Updated
ImpactResponseto includeuser_impactandcustomer_impactbreakdown 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