mirror of
https://tildegit.org/ben/dotfiles.git
synced 2025-03-31 10:13:21 +00:00
update pbm script
This commit is contained in:
parent
838ba4a5cd
commit
ed6859c092
@ -1,9 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
pbm() {
|
||||
curl -s https://pinballmap.com/api/v1/locations/$1/machine_details.json\?machines_only=1 \
|
||||
| jq -r '.machines | .[]' \
|
||||
> ~/public_html/pin/$2.txt
|
||||
curl -s https://pinballmap.com/api/v1/locations/$1/machine_details.json \
|
||||
| jq -r '.machines | .[] | "\(.manufacturer) \(.name)"' \
|
||||
> ~/pub/$2.txt
|
||||
}
|
||||
|
||||
pbm 9699 coinslot
|
||||
|
Loading…
x
Reference in New Issue
Block a user