Office Data
8 nodes
On this page 8
Format Url
FunctionPuts values into a URL template: {0} becomes the first, {1} the second, each escaped for a URL.
Signature
FormatUrl -> Text
template: Text
first: Any
second: Any
third: Anystring FormatUrl(
string template,
object first,
object second,
object third)Parameters
| name | type | default | description |
|---|---|---|---|
| template | Text | — | The URL with {0}, {1}, {2} where values go. |
| first | Any | — | The value for {0}. |
| second | Any | — | The value for {1}. |
| third | Any | — | The value for {2}. |
Returns
| result | Text |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Data
- Package
- Methodox Office
Http Get
FunctionThe text an HTTP GET to a URL answers. The document must have been allowed to reach the URL's origin.
Signature
HttpGet(URL: Text) -> Text
string HttpGet(string url)
Parameters
| name | type | default | description |
|---|---|---|---|
| URL | Text | — | An http or https address. |
Returns
| result | Text |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Data
- Package
- Methodox Office
Http Get Bytes
FunctionThe bytes an HTTP GET to a URL answers, for a picture. The document must have been allowed to reach the URL's origin.
Signature
HttpGetBytes(URL: Text) -> Byte Array
byte[] HttpGetBytes(string url)
Parameters
| name | type | default | description |
|---|---|---|---|
| URL | Text | — | An http or https address. |
Returns
| result | Byte Array |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Data
- Package
- Methodox Office
Json Number
FunctionOne number from JSON text, at a path such as current.temperature_2m or daily.temperature_2m_max[0].
Signature
JsonNumber(JSON: Text, path: Text) -> Number
double JsonNumber(string json, string path)
Parameters
| name | type | default | description |
|---|---|---|---|
| JSON | Text | — | The JSON text. |
| path | Text | — | Dotted names, with [n] for an element of a list. |
Returns
| result | Number |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Data
- Package
- Methodox Office
Json Numbers
FunctionA list of numbers from JSON text, at a path such as daily.temperature_2m_max.
Signature
JsonNumbers(JSON: Text, path: Text) -> Number Array
double[] JsonNumbers(string json, string path)
Parameters
| name | type | default | description |
|---|---|---|---|
| JSON | Text | — | The JSON text. |
| path | Text | — | Dotted names, with [n] for an element of a list. |
Returns
| result | Number Array |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Data
- Package
- Methodox Office
Json Text
FunctionOne piece of text from JSON text, at a path; a number or true/false is written as text.
Signature
JsonText(JSON: Text, path: Text) -> Text
string JsonText(string json, string path)
Parameters
| name | type | default | description |
|---|---|---|---|
| JSON | Text | — | The JSON text. |
| path | Text | — | Dotted names, with [n] for an element of a list. |
Returns
| result | Text |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Data
- Package
- Methodox Office
Json Texts
FunctionA list of texts from JSON text, at a path such as daily.time.
Signature
JsonTexts(JSON: Text, path: Text) -> Text Array
string[] JsonTexts(string json, string path)
Parameters
| name | type | default | description |
|---|---|---|---|
| JSON | Text | — | The JSON text. |
| path | Text | — | Dotted names, with [n] for an element of a list. |
Returns
| result | Text Array |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Data
- Package
- Methodox Office
Read Text File
FunctionThe text of a file. The document must have been allowed to read it.
Signature
ReadTextFile(path: Text) -> Text
string ReadTextFile(string path)
Parameters
| name | type | default | description |
|---|---|---|---|
| path | Text | — | The file. |
Returns
| result | Text |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Office Data
- Package
- Methodox Office