An open API service indexing awesome lists of open source software.

https://github.com/rareloop/ecologi-slack

A simple script to share your Ecologi impact with Slack
https://github.com/rareloop/ecologi-slack

Last synced: 3 months ago
JSON representation

A simple script to share your Ecologi impact with Slack

Awesome Lists containing this project

README

          

# Share your Ecologi impact in Slack

At [Rareloop](https://www.rareloop) we use [Ecologi](https://www.ecologi.com) 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](https://api.slack.com/messaging/webhooks) 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](https://ecologi.com/rareloop) 🌱🌱
2. [Setting up an Ecologi account for you or your business](https://ecologi.com/rareloop?r=60618d1bcdd7a4001d7b86f2)