WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center
Wolfram Language Home Page »

Deploy and Use a Cloud-Based API on the Command Line

WolframScript can execute functions deployed using APIFunction with only the UUID as an argument.

Using the UUID of the API...

Deploy an API to the cloud

Start by deploying an API to the cloud. This one gives the current share price of a given companys stock:

Call the API from WolframScript

Give the APIs UUID and arguments to call it from WolframScript :

Using a Mnemonically Named File...

On Unix-based systems, you can call an API from WolframScript with a more mnemonic identifier by saving the API's UUID to a file with an easy-to-remember name.

Deploy an API to the cloud

Start by deploying an API to the cloud. This one gives the current share price of a given companys stock:

Save the APIs UUID to a mnemonically named file

Create a mnemonically named file that contains the APIs UUID:

Call the API

Call the API by retrieving the APIs UUID from the file (Unix shells only):

Related Workflows

Related Functions

APIFunction   CloudDeploy   WolframScript   URLParse   Put   FileNameJoin

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /