diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2017-03-04 23:14:10 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2017-03-04 23:14:10 +0000 |
commit | 94a5b5393527a8024d4a96d3eaa0af165c7b342d (patch) | |
tree | 60dafe2bcb8ecf40737deae472db6fdfd9ebb576 | |
parent | 136d85ea56f4ab1d04c7c3df6b982a76d286e449 (diff) | |
download | bips-94a5b5393527a8024d4a96d3eaa0af165c7b342d.tar.xz |
bip-xchgrate: Provide secondary currency code in response to info request
-rw-r--r-- | bip-xchgrate.mediawiki | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bip-xchgrate.mediawiki b/bip-xchgrate.mediawiki index 7c78de3..e3179c8 100644 --- a/bip-xchgrate.mediawiki +++ b/bip-xchgrate.mediawiki @@ -57,7 +57,8 @@ Parameters: Each currency-pair will receive a separate result, a JSON Object, with the following information: * ''cp'' - The currency-pair token. -* ''cc'' - The currency code for the primary currency, if any. +* ''cc'' - The currency code for the primary currency. +* ''alt'' - The currency code for the secondary currency. * ''symbol'' - An Array of prefix and suffix for the primary currency. Each may be either a fixed String, an Array of two Strings (negative and positive), or null. Any positive or negative symbols must be included in this prefix/suffix; it MUST NOT be implied otherwise. * ''digits'' - The type of digits to use for the primary currency's numbers. "arabic" should be used for common 0-9 digits. * ''grouping'' - An Array alternating between Numbers representing a series of digits, and Strings used as delimiters. If terminated by a zero, the final grouping is to be repeated continually. For example, the common US locale thousands grouping would be <code>[3, ",", 0]</code> |