Skip to content

A simple script to share your Ecologi impact with Slack

License

Notifications You must be signed in to change notification settings

Rareloop/ecologi-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Share your Ecologi impact in Slack

At Rareloop we use Ecologi to help us offset our carbon footprint for our business and for our employees. We wanted to have a regular reminder of our impact and as Ecologi has an API we decided to write a quick Slack integration.

We share this here incase others would also benefit from it. The script is simple and could be better, but is practical and enabled us to get up and running quickly.

Usage

  1. Download the ecologi-to-slack.php script
  2. Register for an Incoming Webhook for Slack
  3. Update the $username and $slackWebhookUrl variables in the script
  4. Run php ecologi-to-slack.php

To make this truely useful you should copy the script to a server and setup a cron job to periodically run it for you.

Giving back

If you find this script useful please consider either:

  1. 🌱🌱 Contributing some trees to the Rareloop forest 🌱🌱
  2. Setting up an Ecologi account for you or your business

About

A simple script to share your Ecologi impact with Slack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages