joshfarrant / shortcuts-js

A JavaScript iOS 12 Shortcuts creator
https://shortcuts.fun
GNU General Public License v3.0
1.69k stars 101 forks source link

List of every action in shortcuts and their parameters #88

Open pfgithub opened 5 years ago

pfgithub commented 5 years ago

This json file contains information about every default action in shortcuts 2.1.2, it was extracted from the shortcuts app by xAlien95 on the r/shortcuts discord.

JSON file: https://pastebin.com/raw/7y7D0nvC

An example action:

"is.workflow.actions.gettext": {
    "ActionClass": "WFTextAction",
    "ActionKeywords": [
        "text",
        "such text",
        "very speech",
        "much words",
        "so wow",
        "string"
    ],
    "Category": "Text",
    "Description": {
        "DescriptionSummary": "Passes the specified text to the next action."
    },
    "IconName": "Text.png",
    "Name": "Text",
    "Output": {
        "Multiple": false,
        "OutputName": "Text",
        "Types": [
            "NSString"
        ]
    },
    "Parameters": [
        {
            "Class": "WFTextInputParameter",
            "DefaultValue": "",
            "Key": "WFTextActionText",
            "Multiline": true,
            "Placeholder": "Enter text..."
        }
    ]
},
joshfarrant commented 5 years ago

This is really interesting, thanks for posting and thanks @xAlien95 for extracting it. Going to have a play around with it now.

Sent with GitHawk

xAlien95 commented 5 years ago

This json file contains information about every default action in shortcuts 2.2

Small misspelling, it's 2.1.2.

"ActionKeywords": [
  "text",
  "such text",
  "very speech",
  "much words",
  "so wow",
  "string",
],

That's true, you can search for "so wow" and the Text action will show up 😆