Name
Paid
Comment
URL
Paid
No longer maintained
Paid
Still relevant with Raycast?
POST https://www.notion.so/api/v3/queryCollection Content-Type: application/json { "collectionView": { "id": "5ceea085-ed4d-4b0e-a0ba-6cdfb3fa0243", "spaceId": "fe2499c2-dc50-411a-a0f1-7d61f276fc46" }, "collection": { "id": "7e23b9b2-8ac4-4159-b9b5-f2a83d7fc7d8", "spaceId": "fe2499c2-dc50-411a-a0f1-7d61f276fc46" }, "loader": { "type": "reducer", "reducers": { "collection_group_results": { "type": "results", "limit": 50 } }, "searchQuery": "", "userTimeZone": "Europe/Berlin" } }
const notionApiUrl = 'https://www.notion.so/api/v3/queryCollection'; // Your Notion API request payload const notionRequestPayload = { collectionView: { id: '5ceea085ed4d4b0ea0ba6cdfb3fa0243', spaceId: 'fe2499c2-dc50-411a-a0f1-7d61f276fc46', }, collection: { id: '7e23b9b2-8ac4-4159-b9b5-f2a83d7fc7d8', spaceId: 'fe2499c2-dc50-411a-a0f1-7d61f276fc46', }, loader: { type: 'reducer', reducers: { collection_group_results: { type: 'results', limit: 1, }, }, searchQuery: '', userTimeZone: 'Europe/Berlin', }, }; // Make a POST request to Notion API fetch(notionApiUrl, { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify(notionRequestPayload), }) .then(response => response.json()) .then(data => { const packageName = data.recordMap.block ? Object.values(data.recordMap.block) .map(block => block.value.properties) .filter(props => props && props['\\{fj'] && props['\\{fj'][0][0] === 'cask') .map(props => props.BZYX[0][0]) .sort() : null; console.log(packageName) }) .catch(error => { console.error(`Error making Notion API request: ${error.message}`); });
curl -X POST https://www.notion.so/api/v3/queryCollection \ -H "Content-Type: application/json" \ -d '{ "collectionView": { "id": "5ceea085ed4d4b0ea0ba6cdfb3fa0243", "spaceId": "fe2499c2-dc50-411a-a0f1-7d61f276fc46" }, "collection": { "id": "7e23b9b2-8ac4-4159-b9b5-f2a83d7fc7d8", "spaceId": "fe2499c2-dc50-411a-a0f1-7d61f276fc46" }, "loader": { "type": "reducer", "reducers": { "collection_group_results": { "type": "results", "limit": 1 } }, "searchQuery": "", "userTimeZone": "Europe/Berlin" } }' \ | jq '.recordMap.block | to_entries[] | select(.value.value.properties."\\{fj"[0][0] == "cask") | .value.value.properties.BZYX[0][0]' \ | xargs brew install