Skip to content

Instantly share code, notes, and snippets.

View daviddanielng's full-sized avatar
✍️
Writing lines

Daniel Enubiaka daviddanielng

✍️
Writing lines
View GitHub Profile
@daviddanielng
daviddanielng / mal_token.sh
Created May 5, 2024 12:06 — forked from ponsfrilus/mal_token.sh
Bash script to retreive a MyAnimeList (MAL) API access Token
#!/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.