Commit graph

31 commits

Author SHA1 Message Date
Samantaz Fox
2c163b1e75
api-helper: Fix errors reported by shellcheck 2024-06-13 00:39:12 +02:00
Samantaz Fox
f82f81ff00
api-helper: Allow querying all clients at once 2024-06-12 22:43:27 +02:00
Samantaz Fox
8df7834c36
api-helper: Move request logic to a separate function 2024-03-30 22:54:20 +01:00
Samantaz Fox
d45d85391e
api-helper: Move client data assembly logic to a separate function 2024-03-30 22:51:18 +01:00
Samantaz Fox
fd743bcc80
api-helper: Move endpoint selector to a separate function 2024-03-30 22:40:20 +01:00
Samantaz Fox
6905f34a4f
api-helper: Move client selector to a separate function 2024-03-30 21:57:35 +01:00
Samantaz Fox
158f55f755
api-helper: Add global list of all available clients 2024-03-30 21:49:56 +01:00
Samantaz Fox
8d4d6244fb
api-helper: Improve error/info printing 2024-03-30 21:40:48 +01:00
Samantaz Fox
7be098b36b
api-helper: Fix resolve API endpoint path 2023-02-20 22:45:08 +01:00
Samantaz Fox
0fce8c7b16
api-helper: Don't use echo to redirect command output 2023-02-20 22:44:33 +01:00
Samantaz Fox
86f9ce3742
api-helper: Bump all client version strings 2023-02-20 21:03:21 +01:00
Samantaz Fox
1e293c67fc
api-helper: Add TV clients 2023-02-20 21:03:18 +01:00
Samantaz Fox
a9b2a07a1c
api-helper: Use 'sed' to remove tracking parameters 2023-02-20 21:03:14 +01:00
Samantaz Fox
5f20877542
api-helper: Improve help and error messages 2023-02-20 21:03:09 +01:00
Samantaz Fox
a0fb0e3c07 Add code to support 'platform' and 'clientFormFactor' query options 2022-03-23 23:56:53 +01:00
Samantaz Fox
ecfa789948 Mute shellcheck error SC2237 2022-03-23 23:51:36 +01:00
Samantaz Fox
653a1611c2 Fix: -c/--client is required even with -d/--data
(required to get the proper API key)
2022-03-23 23:44:32 +01:00
Samantaz Fox
a9c62a7121 Add iOS client 2022-03-23 23:44:30 +01:00
Samantaz Fox
9c02b2d812 Fix 'resolve' endpoint URL 2022-02-14 17:12:57 +01:00
Samantaz Fox
d24f7a9c59 Add --debug option & don't display request by default 2022-02-14 17:11:53 +01:00
Samantaz Fox
ffdf371763 Use 'exit' instead of 'return' to end script execution 2021-10-29 20:43:18 +02:00
Samantaz Fox
fd739cc5ea Fix issues reported by shellcheck 2021-10-29 18:03:47 +02:00
Samantaz Fox
07e6aeecb9
Fix typo: missing $ before 'output' vaiable
Co-authored-by: Perflyst <mail@perflyst.de>
2021-10-29 12:48:42 +02:00
Samantaz Fox
dadee4a14d Use '/bin/sh' instead of '/bin/zsh' in shebang 2021-10-28 15:12:46 +02:00
Samantaz Fox
1f643d78f8 Add search endpoint to YT API utility script 2021-10-27 15:13:10 +02:00
Samantaz Fox
c47e949a81 Use parametric functions for interactive data querying 2021-10-27 15:13:10 +02:00
Samantaz Fox
0a9b21ce5f Avoid redundant code for interactive parameters query 2021-10-27 15:13:10 +02:00
Samantaz Fox
c7eb46c7bb Request optional base64 parameters for browse/player 2021-10-27 15:13:10 +02:00
Samantaz Fox
fce9410328 Fix typo in variable name: s/toekn/token/ 2021-10-27 15:13:10 +02:00
Samantaz Fox
2e11ec2e4a Add more clients to YT API utility script 2021-10-27 15:13:10 +02:00
Samantaz Fox
b51609a2df Add a basic YT API utility script
(made in bash)

This utility script is intended for research on the innertube
API so the developper can query the API without having to compile
invidious nor need to copy-paste the same commands over and over.
2021-10-27 15:13:10 +02:00