Calculations
Calculations
Each entity supports at least one kind of calculation.
By default, all of an entity's calculations are presented with each response entry.
However, all requests support the calculate
query parameter, which allows you to modify this behavior.
Syntax
?calculate=<str>
Supported values
Any calculation that is supported by the entity. To see the full list, see each entity's API specifications.
Multiple calculations
To have multiple calculations, you can repeat the calculate
query parameter multiple times.
Examples
Query parameters | Meaning |
---|---|
? (empty) | Default, show all of the entity's calculations. |
?calculate=foo | Show only the foo calculation. |
?calculate=foo&calculate=bar | Show both the foo and bar calculations. |
Updated almost 2 years ago