9
mikuru-timeline
Executable file
9
mikuru-timeline
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
# That will have to do for now
|
||||
! [ command -v curl ] && exit 1
|
||||
! [ command -v jq ] && exit 1
|
||||
|
||||
curl -H "Accept: application/json" -H "Content-Type: application/json" \
|
||||
-H "User-Agent: mikuru/timeline.sh" -H "Token: $(sed 's/token = //' ~/.config/mikuru.ini | tail -n1)" \
|
||||
-d '{"page": 1}' $(sed -e 's/host = //' -e "/mikuru/d" -e "/token/d" ~/.config/mikuru.ini)/api/v1/timeline | jq | less
|
||||
|
||||
Reference in New Issue
Block a user