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 bash | |
# | |
# Simplify the TOKEN generation for the My Anime List API (MAL API). | |
# | |
# Link to this file: https://gist.github.com/ponsfrilus/5fa501752595c972f568b61fb192e8b5 | |
# | |
# Usage: | |
# export MAL_CLIENT_ID='phiequ3nah4phohqu7aephae5va8eePu' MAL_CLIENT_SECRET='oof1EilohLaimeigi5eithei0Johlai4hud2EiTee8Ien3iRieTouSeiv1phaiti'; | |
# ./mal_token.sh [--refresh] | |
# Note: these are pwgen generated, they won't work. |