source/plugins/community/poopmap/README.md
</td>
<b>default:</b> no
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_poopmap_token</code></h4></td> <td rowspan="2"><p>PoopMap API token</p> </td> </tr> <tr> <td nowrap="nowrap">🔐 Token<b>type:</b> <code>token</code>
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_poopmap_days</code></h4></td> <td rowspan="2"><p>Time range</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>number</code><b>default:</b> 7
<b>allowed values:</b><ul><li>7</li><li>30</li><li>180</li><li>365</li></ul></td>
</tr> </table> <!--/options-->Install PoopMap app (iOS/Android) and create an account.
Navigate to your profile in the app
<div align="center"> </div>Tap "Share Profile" in the top right
<div align="center"> </div>Tap "Copy to Clipboard"
<div align="center"> </div>It should result in something like Haha, check out the places I've pooped on Poop Map https://api.poopmap.net/map?token=xxxxxxxxxx copied.
Extract the token query parameter from the link and use it in plugin_poopmap_token.
This token will not expire and it will be able to access only public details.
uses: lowlighter/metrics@latest
with:
token: NOT_NEEDED
plugin_poopmap_token: ${{ secrets.POOPMAP_TOKEN }}
plugin_poopmap: yes