From ec74a84bfd680ee2b47a4bfb6c932f11772490b6 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 25 May 2025 01:52:54 -0700 Subject: aquadx: create common_docs for how to get token --- chuni/aquadx/README.md | 26 ++------------------------ common_docs/aquadx_how_to_get_token.md | 23 +++++++++++++++++++++++ mai2/aquadx/README.md | 26 ++------------------------ ongeki/aquadx/README.md | 26 ++------------------------ wacca/aquadx/README.md | 26 ++------------------------ 5 files changed, 31 insertions(+), 96 deletions(-) create mode 100644 common_docs/aquadx_how_to_get_token.md diff --git a/chuni/aquadx/README.md b/chuni/aquadx/README.md index 991f949..c21c99e 100644 --- a/chuni/aquadx/README.md +++ b/chuni/aquadx/README.md @@ -1,5 +1,7 @@ CHUNITHM NEW and beyond. Both self-hosted and the primary AquaDX server is supported: +[How to get AquaDX Token?](../../common_docs/aquadx_how_to_get_token.md) + # Arguments | Argument | Short | Description | Default | @@ -12,27 +14,3 @@ CHUNITHM NEW and beyond. Both self-hosted and the primary AquaDX server is suppo > [!IMPORTANT] > You only need to specify either `--file` or `--token`/`--url` - -# How to get token? -As of now, your token doesn't change so once you get it once you can re-use it again. -**DO NOT SHARE THIS TOKEN WITH OTHER PEOPLE** - -## The easy way -1. Go to AquaDX -2. CTRL+SHIFT+I (Open Dev Tools Panel) -3. Under the `Console` tab, paste the following command -```js -console.log(localStorage.getItem('token')); -``` -The output will be your AquaDX token - -## The hard way -1. Go to AquaDX -2. CTRL+SHIFT+I (Open Dev Tools panel) -3. Go to Network tab -4. Refresh the page with the Dev Tools Panel Open -5. Search for `/api/v2` -6. Click on any of the requests and check the url. There will be a part of the url that starts with `token=` -7. Copy everything after the `=` up until either the end of the URL or the next `&` - -**DO NOT SHARE THIS TOKEN WITH OTHER PEOPLE** diff --git a/common_docs/aquadx_how_to_get_token.md b/common_docs/aquadx_how_to_get_token.md new file mode 100644 index 0000000..733cb39 --- /dev/null +++ b/common_docs/aquadx_how_to_get_token.md @@ -0,0 +1,23 @@ +# How to get token? +As of now, your token doesn't change so once you've followed the steps below once you can re-use it again. +**DO NOT SHARE THIS TOKEN WITH OTHER PEOPLE** + +## The easy way +1. Go to AquaDX +2. CTRL+SHIFT+I (Open Dev Tools Panel) +3. Under the `Console` tab, paste the following command +```js +console.log(localStorage.getItem('token')); +``` +The output will be your AquaDX token + +## The hard way +1. Go to AquaDX +2. CTRL+SHIFT+I (Open Dev Tools panel) +3. Go to Network tab +4. Refresh the page with the Dev Tools Panel Open +5. Search for `/api/v2` +6. Click on any of the requests and check the url. There will be a part of the url that starts with `token=` +7. Copy everything after the `=` up until either the end of the URL or the next `&` + +**DO NOT SHARE THIS TOKEN WITH OTHER PEOPLE** diff --git a/mai2/aquadx/README.md b/mai2/aquadx/README.md index a5deb28..17c8b83 100644 --- a/mai2/aquadx/README.md +++ b/mai2/aquadx/README.md @@ -2,6 +2,8 @@ maimai DX. Both self-hosted and the primary AquaDX server is supported: Please note currently all scores are set as DX variant of scores. +[How to get AquaDX Token?](../../common_docs/aquadx_how_to_get_token.md) + # Arguments | Argument | Short | Description | Default | @@ -15,27 +17,3 @@ Please note currently all scores are set as DX variant of scores. > [!IMPORTANT] > You only need to specify either `--file` or `--token`/`--url` - -# How to get token? -As of now, your token doesn't change so once you get it once you can re-use it again. -**DO NOT SHARE THIS TOKEN WITH OTHER PEOPLE** - -## The easy way -1. Go to AquaDX -2. CTRL+SHIFT+I (Open Dev Tools Panel) -3. Under the `Console` tab, paste the following command -```js -console.log(localStorage.getItem('token')); -``` -The output will be your AquaDX token - -## The hard way -1. Go to AquaDX -2. CTRL+SHIFT+I (Open Dev Tools panel) -3. Go to Network tab -4. Refresh the page with the Dev Tools Panel Open -5. Search for `/api/v2` -6. Click on any of the requests and check the url. There will be a part of the url that starts with `token=` -7. Copy everything after the `=` up until either the end of the URL or the next `&` - -**DO NOT SHARE THIS TOKEN WITH OTHER PEOPLE** diff --git a/ongeki/aquadx/README.md b/ongeki/aquadx/README.md index 0eb9104..a892e83 100644 --- a/ongeki/aquadx/README.md +++ b/ongeki/aquadx/README.md @@ -2,6 +2,8 @@ O.N.G.E.K.I Both self-hosted and the primary AquaDX server is supported: Please note currently all scores are set as DX variant of scores. +[How to get AquaDX Token?](../../common_docs/aquadx_how_to_get_token.md) + # Arguments | Argument | Short | Description | Default | @@ -15,27 +17,3 @@ Please note currently all scores are set as DX variant of scores. > [!IMPORTANT] > You only need to specify either `--file` or `--token`/`--url` - -# How to get token? -As of now, your token doesn't change so once you get it once you can re-use it again. -**DO NOT SHARE THIS TOKEN WITH OTHER PEOPLE** - -## The easy way -1. Go to AquaDX -2. CTRL+SHIFT+I (Open Dev Tools Panel) -3. Under the `Console` tab, paste the following command -```js -console.log(localStorage.getItem('token')); -``` -The output will be your AquaDX token - -## The hard way -1. Go to AquaDX -2. CTRL+SHIFT+I (Open Dev Tools panel) -3. Go to Network tab -4. Refresh the page with the Dev Tools Panel Open -5. Search for `/api/v2` -6. Click on any of the requests and check the url. There will be a part of the url that starts with `token=` -7. Copy everything after the `=` up until either the end of the URL or the next `&` - -**DO NOT SHARE THIS TOKEN WITH OTHER PEOPLE** diff --git a/wacca/aquadx/README.md b/wacca/aquadx/README.md index a56accc..beeb657 100644 --- a/wacca/aquadx/README.md +++ b/wacca/aquadx/README.md @@ -1,5 +1,7 @@ WACCA. Both self-hosted and the primary AquaDX server is supported: +[How to get AquaDX Token?](../../common_docs/aquadx_how_to_get_token.md) + > [!IMPORTANT] > Since there is no export for player data yet, this script can only grab your RECENT plays @@ -16,27 +18,3 @@ WACCA. Both self-hosted and the primary AquaDX server is supported: > [!IMPORTANT] > You only need to specify either `--file` or `--token`/`--url` - -# How to get token? -As of now, your token doesn't change so once you get it once you can re-use it again. -**DO NOT SHARE THIS TOKEN WITH OTHER PEOPLE** - -## The easy way -1. Go to AquaDX -2. CTRL+SHIFT+I (Open Dev Tools Panel) -3. Under the `Console` tab, paste the following command -```js -console.log(localStorage.getItem('token')); -``` -The output will be your AquaDX token - -## The hard way -1. Go to AquaDX -2. CTRL+SHIFT+I (Open Dev Tools panel) -3. Go to Network tab -4. Refresh the page with the Dev Tools Panel Open -5. Search for `/api/v2` -6. Click on any of the requests and check the url. There will be a part of the url that starts with `token=` -7. Copy everything after the `=` up until either the end of the URL or the next `&` - -**DO NOT SHARE THIS TOKEN WITH OTHER PEOPLE** -- cgit v1.2.3