Examples
Shelfmark
One phone app for watching many kinds of thing, from campsites to restocks, grouped by category.
golfnow.com
discogs.comgithub.comswpc.noaa.govjobs.ashbyhq.comboards.greenhouse.iocloudflarestatus.comdice.fm
Requests
Each one creates a watcher. Preview it first to see what it would catch.
golfnow.com/tee-times/facility/1225-audubon-park-golf-club
Fires when availability = open_slot and price <= 40. Checks every 15m for 30 days. Try it in the playground.
curl https://api.watcher.manwhas.shop/v1/watchers \
-H "Authorization: Bearer $SNAG_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": {
"query": "https://www.golfnow.com/tee-times/facility/1225-audubon-park-golf-club",
"match": "listing",
"attributes": {
"party": 4,
"holes": 18,
"time_zone": "America/Chicago"
}
},
"conditions": {
"all": [
{
"field": "availability",
"op": "=",
"value": "open_slot"
},
{
"field": "price",
"op": "<=",
"value": 40
}
]
},
"where": {
"sites": [
"golfnow.com/tee-times/facility/1225-audubon-park-golf-club"
],
"aggregate": "best"
},
"schedule": {
"every": "15m",
"until": "+30d"
}
}'const response = await fetch('https://api.watcher.manwhas.shop/v1/watchers', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.SNAG_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"target": {
"query": "https://www.golfnow.com/tee-times/facility/1225-audubon-park-golf-club",
"match": "listing",
"attributes": {
"party": 4,
"holes": 18,
"time_zone": "America/Chicago"
}
},
"conditions": {
"all": [
{
"field": "availability",
"op": "=",
"value": "open_slot"
},
{
"field": "price",
"op": "<=",
"value": 40
}
]
},
"where": {
"sites": [
"golfnow.com/tee-times/facility/1225-audubon-park-golf-club"
],
"aggregate": "best"
},
"schedule": {
"every": "15m",
"until": "+30d"
}
}),
});
console.log(await response.json());import os, requests
response = requests.post(
"https://api.watcher.manwhas.shop/v1/watchers",
headers={"Authorization": f"Bearer {os.environ['SNAG_KEY']}"},
json={
"target": {
"query": "https://www.golfnow.com/tee-times/facility/1225-audubon-park-golf-club",
"match": "listing",
"attributes": {
"party": 4,
"holes": 18,
"time_zone": "America/Chicago"
}
},
"conditions": {
"all": [
{
"field": "availability",
"op": "=",
"value": "open_slot"
},
{
"field": "price",
"op": "<=",
"value": 40
}
]
},
"where": {
"sites": [
"golfnow.com/tee-times/facility/1225-audubon-park-golf-club"
],
"aggregate": "best"
},
"schedule": {
"every": "15m",
"until": "+30d"
}
},
)
print(response.json())
discogs.com/release/242785
Fires when price <= 100 and availability = in_stock. Checks every 1h for 90 days. Try it in the playground.
curl https://api.watcher.manwhas.shop/v1/watchers \
-H "Authorization: Bearer $SNAG_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": {
"query": "https://www.discogs.com/release/242785",
"match": "url"
},
"conditions": {
"all": [
{
"field": "price",
"op": "<=",
"value": 100
},
{
"field": "availability",
"op": "=",
"value": "in_stock"
}
]
},
"where": {
"sites": [
"discogs.com/release/242785"
]
},
"schedule": {
"every": "1h",
"until": "+90d"
}
}'const response = await fetch('https://api.watcher.manwhas.shop/v1/watchers', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.SNAG_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"target": {
"query": "https://www.discogs.com/release/242785",
"match": "url"
},
"conditions": {
"all": [
{
"field": "price",
"op": "<=",
"value": 100
},
{
"field": "availability",
"op": "=",
"value": "in_stock"
}
]
},
"where": {
"sites": [
"discogs.com/release/242785"
]
},
"schedule": {
"every": "1h",
"until": "+90d"
}
}),
});
console.log(await response.json());import os, requests
response = requests.post(
"https://api.watcher.manwhas.shop/v1/watchers",
headers={"Authorization": f"Bearer {os.environ['SNAG_KEY']}"},
json={
"target": {
"query": "https://www.discogs.com/release/242785",
"match": "url"
},
"conditions": {
"all": [
{
"field": "price",
"op": "<=",
"value": 100
},
{
"field": "availability",
"op": "=",
"value": "in_stock"
}
]
},
"where": {
"sites": [
"discogs.com/release/242785"
]
},
"schedule": {
"every": "1h",
"until": "+90d"
}
},
)
print(response.json())
node on github.com/nodejs/node
Fires when version >= 27 and release_status = available. Checks every 6h until it first fires. Try it in the playground.
curl https://api.watcher.manwhas.shop/v1/watchers \
-H "Authorization: Bearer $SNAG_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": {
"query": "node",
"match": "line"
},
"conditions": {
"all": [
{
"field": "version",
"op": ">=",
"value": 27
},
{
"field": "release_status",
"op": "=",
"value": "available"
}
]
},
"where": {
"sites": [
"github.com/nodejs/node"
]
},
"schedule": {
"every": "6h",
"until": "after_first_match"
}
}'const response = await fetch('https://api.watcher.manwhas.shop/v1/watchers', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.SNAG_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"target": {
"query": "node",
"match": "line"
},
"conditions": {
"all": [
{
"field": "version",
"op": ">=",
"value": 27
},
{
"field": "release_status",
"op": "=",
"value": "available"
}
]
},
"where": {
"sites": [
"github.com/nodejs/node"
]
},
"schedule": {
"every": "6h",
"until": "after_first_match"
}
}),
});
console.log(await response.json());import os, requests
response = requests.post(
"https://api.watcher.manwhas.shop/v1/watchers",
headers={"Authorization": f"Bearer {os.environ['SNAG_KEY']}"},
json={
"target": {
"query": "node",
"match": "line"
},
"conditions": {
"all": [
{
"field": "version",
"op": ">=",
"value": 27
},
{
"field": "release_status",
"op": "=",
"value": "available"
}
]
},
"where": {
"sites": [
"github.com/nodejs/node"
]
},
"schedule": {
"every": "6h",
"until": "after_first_match"
}
},
)
print(response.json())
swpc.noaa.gov/kp on swpc.noaa.gov/kp
Fires when kp >= 7. Checks every 30m for 180 days. Try it in the playground.
curl https://api.watcher.manwhas.shop/v1/watchers \
-H "Authorization: Bearer $SNAG_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": {
"query": "swpc.noaa.gov/kp",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "kp",
"op": ">=",
"value": 7
}
]
},
"where": {
"sites": [
"swpc.noaa.gov/kp"
]
},
"schedule": {
"every": "30m",
"until": "+180d"
}
}'const response = await fetch('https://api.watcher.manwhas.shop/v1/watchers', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.SNAG_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"target": {
"query": "swpc.noaa.gov/kp",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "kp",
"op": ">=",
"value": 7
}
]
},
"where": {
"sites": [
"swpc.noaa.gov/kp"
]
},
"schedule": {
"every": "30m",
"until": "+180d"
}
}),
});
console.log(await response.json());import os, requests
response = requests.post(
"https://api.watcher.manwhas.shop/v1/watchers",
headers={"Authorization": f"Bearer {os.environ['SNAG_KEY']}"},
json={
"target": {
"query": "swpc.noaa.gov/kp",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "kp",
"op": ">=",
"value": 7
}
]
},
"where": {
"sites": [
"swpc.noaa.gov/kp"
]
},
"schedule": {
"every": "30m",
"until": "+180d"
}
},
)
print(response.json())
designer on jobs.ashbyhq.com/linear, boards.greenhouse.io/figma, jobs.ashbyhq.com/notion
Fires when items added. Checks every 1h for 180 days. Try it in the playground.
curl https://api.watcher.manwhas.shop/v1/watchers \
-H "Authorization: Bearer $SNAG_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": {
"query": "designer",
"match": "line",
"exclude": [
"intern"
]
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"jobs.ashbyhq.com/linear",
"boards.greenhouse.io/figma",
"jobs.ashbyhq.com/notion"
]
},
"schedule": {
"every": "1h",
"until": "+180d"
}
}'const response = await fetch('https://api.watcher.manwhas.shop/v1/watchers', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.SNAG_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"target": {
"query": "designer",
"match": "line",
"exclude": [
"intern"
]
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"jobs.ashbyhq.com/linear",
"boards.greenhouse.io/figma",
"jobs.ashbyhq.com/notion"
]
},
"schedule": {
"every": "1h",
"until": "+180d"
}
}),
});
console.log(await response.json());import os, requests
response = requests.post(
"https://api.watcher.manwhas.shop/v1/watchers",
headers={"Authorization": f"Bearer {os.environ['SNAG_KEY']}"},
json={
"target": {
"query": "designer",
"match": "line",
"exclude": [
"intern"
]
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"jobs.ashbyhq.com/linear",
"boards.greenhouse.io/figma",
"jobs.ashbyhq.com/notion"
]
},
"schedule": {
"every": "1h",
"until": "+180d"
}
},
)
print(response.json())
Durable Objects on www.cloudflarestatus.com
Fires when status changed or status in partial_outage, major_outage. Checks every 5m for 90 days. Try it in the playground.
curl https://api.watcher.manwhas.shop/v1/watchers \
-H "Authorization: Bearer $SNAG_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": {
"query": "Durable Objects",
"match": "line"
},
"conditions": {
"any": [
{
"field": "status",
"op": "changed"
},
{
"field": "status",
"op": "in",
"value": [
"partial_outage",
"major_outage"
]
}
]
},
"where": {
"sites": [
"statuspage:www.cloudflarestatus.com"
]
},
"schedule": {
"every": "5m",
"until": "+90d"
}
}'const response = await fetch('https://api.watcher.manwhas.shop/v1/watchers', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.SNAG_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"target": {
"query": "Durable Objects",
"match": "line"
},
"conditions": {
"any": [
{
"field": "status",
"op": "changed"
},
{
"field": "status",
"op": "in",
"value": [
"partial_outage",
"major_outage"
]
}
]
},
"where": {
"sites": [
"statuspage:www.cloudflarestatus.com"
]
},
"schedule": {
"every": "5m",
"until": "+90d"
}
}),
});
console.log(await response.json());import os, requests
response = requests.post(
"https://api.watcher.manwhas.shop/v1/watchers",
headers={"Authorization": f"Bearer {os.environ['SNAG_KEY']}"},
json={
"target": {
"query": "Durable Objects",
"match": "line"
},
"conditions": {
"any": [
{
"field": "status",
"op": "changed"
},
{
"field": "status",
"op": "in",
"value": [
"partial_outage",
"major_outage"
]
}
]
},
"where": {
"sites": [
"statuspage:www.cloudflarestatus.com"
]
},
"schedule": {
"every": "5m",
"until": "+90d"
}
},
)
print(response.json())
dice.fm/venue/earth-76a7 on dice.fm/venue/earth-76a7
Fires when availability = back_in_stock. Checks every 10m for 90 days. Try it in the playground.
curl https://api.watcher.manwhas.shop/v1/watchers \
-H "Authorization: Bearer $SNAG_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": {
"query": "dice.fm/venue/earth-76a7",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "availability",
"op": "=",
"value": "back_in_stock"
}
]
},
"where": {
"sites": [
"dice.fm/venue/earth-76a7"
]
},
"schedule": {
"every": "10m",
"until": "+90d"
}
}'const response = await fetch('https://api.watcher.manwhas.shop/v1/watchers', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.SNAG_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"target": {
"query": "dice.fm/venue/earth-76a7",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "availability",
"op": "=",
"value": "back_in_stock"
}
]
},
"where": {
"sites": [
"dice.fm/venue/earth-76a7"
]
},
"schedule": {
"every": "10m",
"until": "+90d"
}
}),
});
console.log(await response.json());import os, requests
response = requests.post(
"https://api.watcher.manwhas.shop/v1/watchers",
headers={"Authorization": f"Bearer {os.environ['SNAG_KEY']}"},
json={
"target": {
"query": "dice.fm/venue/earth-76a7",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "availability",
"op": "=",
"value": "back_in_stock"
}
]
},
"where": {
"sites": [
"dice.fm/venue/earth-76a7"
]
},
"schedule": {
"every": "10m",
"until": "+90d"
}
},
)
print(response.json())
backend on jobs.lever.co/spotify
Fires when items removed. Checks every 6h for 180 days. Try it in the playground.
curl https://api.watcher.manwhas.shop/v1/watchers \
-H "Authorization: Bearer $SNAG_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": {
"query": "backend",
"match": "line"
},
"conditions": {
"all": [
{
"field": "items",
"op": "removed"
}
]
},
"where": {
"sites": [
"jobs.lever.co/spotify"
]
},
"schedule": {
"every": "6h",
"until": "+180d"
}
}'const response = await fetch('https://api.watcher.manwhas.shop/v1/watchers', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.SNAG_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"target": {
"query": "backend",
"match": "line"
},
"conditions": {
"all": [
{
"field": "items",
"op": "removed"
}
]
},
"where": {
"sites": [
"jobs.lever.co/spotify"
]
},
"schedule": {
"every": "6h",
"until": "+180d"
}
}),
});
console.log(await response.json());import os, requests
response = requests.post(
"https://api.watcher.manwhas.shop/v1/watchers",
headers={"Authorization": f"Bearer {os.environ['SNAG_KEY']}"},
json={
"target": {
"query": "backend",
"match": "line"
},
"conditions": {
"all": [
{
"field": "items",
"op": "removed"
}
]
},
"where": {
"sites": [
"jobs.lever.co/spotify"
]
},
"schedule": {
"every": "6h",
"until": "+180d"
}
},
)
print(response.json())
mozilla.org/en-US/about/legal/terms/mozilla
Fires when text judged: "the change touches how user data is used, or adds or changes an arbitration clause". Checks every 1d for 365 days. Try it in the playground.
curl https://api.watcher.manwhas.shop/v1/watchers \
-H "Authorization: Bearer $SNAG_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": {
"query": "https://www.mozilla.org/en-US/about/legal/terms/mozilla/",
"match": "url",
"attributes": {
"summarize": true
}
},
"conditions": {
"all": [
{
"field": "text",
"op": "judge",
"value": "the change touches how user data is used, or adds or changes an arbitration clause"
}
]
},
"where": {
"sites": [
"change:https://www.mozilla.org/en-US/about/legal/terms/mozilla/"
]
},
"schedule": {
"every": "1d",
"until": "+365d"
}
}'const response = await fetch('https://api.watcher.manwhas.shop/v1/watchers', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.SNAG_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"target": {
"query": "https://www.mozilla.org/en-US/about/legal/terms/mozilla/",
"match": "url",
"attributes": {
"summarize": true
}
},
"conditions": {
"all": [
{
"field": "text",
"op": "judge",
"value": "the change touches how user data is used, or adds or changes an arbitration clause"
}
]
},
"where": {
"sites": [
"change:https://www.mozilla.org/en-US/about/legal/terms/mozilla/"
]
},
"schedule": {
"every": "1d",
"until": "+365d"
}
}),
});
console.log(await response.json());import os, requests
response = requests.post(
"https://api.watcher.manwhas.shop/v1/watchers",
headers={"Authorization": f"Bearer {os.environ['SNAG_KEY']}"},
json={
"target": {
"query": "https://www.mozilla.org/en-US/about/legal/terms/mozilla/",
"match": "url",
"attributes": {
"summarize": True
}
},
"conditions": {
"all": [
{
"field": "text",
"op": "judge",
"value": "the change touches how user data is used, or adds or changes an arbitration clause"
}
]
},
"where": {
"sites": [
"change:https://www.mozilla.org/en-US/about/legal/terms/mozilla/"
]
},
"schedule": {
"every": "1d",
"until": "+365d"
}
},
)
print(response.json())