diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2017-03-06 02:21:22 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2017-03-06 02:21:22 +0000 |
commit | 12316e3dec63902529d81bb18f4e19fbee6888ce (patch) | |
tree | 85fef8148120212256c08214a9d25c6e06b85586 | |
parent | 00323d1a8f3b873c340b2f74300822ff8a31dbdf (diff) | |
download | bips-12316e3dec63902529d81bb18f4e19fbee6888ce.tar.xz |
bip-xchgrate: Include locale with enumeration
-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 9171f24..317d16f 100644 --- a/bip-xchgrate.mediawiki +++ b/bip-xchgrate.mediawiki @@ -54,6 +54,7 @@ Each currency-pair will receive a separate result, a JSON Object, with the follo * ''cp'' - The currency-pair token. * ''quote'' - The currency code for the quote currency. * ''base'' - The currency code for the base currency. +* ''locale'' - If provided, a String with the applicable Unicode CLDR locale. * ''desc'' - Optional description. For example, it could be "Based on Florida BTM prices." or any other short String that provides information useful to the user. SHOULD be shorter than 45 characters. ===Currency-pair information=== @@ -68,6 +69,7 @@ Each currency-pair will receive a separate result, a JSON Object, with the follo * ''cp'' - The currency-pair token. * ''quote'' - The currency code for the quote currency. * ''base'' - The currency code for the base currency. +* ''locale'' - If provided, a String with the applicable Unicode CLDR locale. * ''desc'' - Optional description. For example, it could be "Based on Florida BTM prices." or any other short String that provides information useful to the user. SHOULD be shorter than 45 characters. * ''longdesc'' - Optional description, but may be longer and include newlines. * ''symbol'' - An Array of prefix and suffix for the quote 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. @@ -75,7 +77,6 @@ Each currency-pair will receive a separate result, a JSON Object, with the follo * ''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> * ''fraction_sep'' - A String to be placed between whole numbers and a fractional amount. * ''fraction_digits'' - Array of absolute minimum (even for whole numbers) number of fractional digits, minimum fractional digits when a fraction exists, and maximum number of fractional digits when absolute precision is not demanded (below which is to be rounded in an implementation-dependent manner). -* ''locale'' - If provided, a String with the applicable Unicode CLDR locale. * ''minpoll'' - A Number of seconds indicating a minimum time between polls to the server. Clients should be prudent about not polling too often, even if this number is low. * ''longpoll'' - If provided and true, indicates longpolling is supported by the server. * ''history'' - If provided, indicates the server has historical records going back no earlier than the POSIX timestamp provided as a value. |