This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env PYTHONIOENCODING=UTF-8 /usr/local/bin/python3 | |
# <bitbar.title>CO2Signal API</bitbar.title> | |
# <bitbar.version>v1.0</bitbar.version> | |
# <bitbar.author>Martin Jobke</bitbar.author> | |
# <bitbar.author.github>pygoner</bitbar.author.github> | |
# <bitbar.desc>This plugin displays the current gCO2eq emmissions per kWh of produced energy in the requested country </bitbar.desc> | |
# <bitbar.dependencies>python, CO2 Signal</bitbar.dependencies> | |
import requests |