@allratestoday/boc-exchange-rate 1.3.16 โ 1.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -26
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ const r = await fetch('https://allratestoday.com/api/open/central-bank/boc').the
|
|
|
37
37
|
console.log(r.rate_date, r.rates.length); // the central bank's latest published table, no key
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
The open endpoint serves the *latest* table only (JSON by default; add `?format=csv`, `xml` or `xlsx` for a file) and
|
|
40
|
+
The open endpoint serves the *latest* table only (JSON by default; add `?format=csv`, `xml` or `xlsx` for a file) and is free to use with a visible, followable link where the rates are shown: `<a href="https://allratestoday.com">Exchange rates by AllRatesToday</a>` (terms: <https://allratestoday.com/terms/#attribution>). The client below uses the keyed API, which adds point-in-time tables and history; with a key the link is appreciated, not required.
|
|
41
41
|
|
|
42
42
|
## ๐ Latest published table
|
|
43
43
|
|
|
@@ -47,34 +47,34 @@ The image is rendered live from the keyless endpoint above, so it follows the ce
|
|
|
47
47
|
|
|
48
48
|
<!-- daily-table:start -->
|
|
49
49
|
<details>
|
|
50
|
-
<summary>Table as text: published 2026-10-
|
|
50
|
+
<summary>Table as text: published 2026-10-26 by Bank of Canada โ 24 rates. Updated 2026-10-26.</summary>
|
|
51
51
|
|
|
52
52
|
| Base | Quote | Type | Rate |
|
|
53
53
|
| --- | --- | --- | ---: |
|
|
54
|
-
| AUD | CAD | indicative | 0.
|
|
55
|
-
| BRL | CAD | indicative | 0.
|
|
56
|
-
| CHF | CAD | indicative | 1.
|
|
57
|
-
| CNY | CAD | indicative | 0.
|
|
58
|
-
| EUR | CAD | indicative | 1.
|
|
59
|
-
| GBP | CAD | indicative | 1.
|
|
60
|
-
| HKD | CAD | indicative | 0.
|
|
61
|
-
| IDR | CAD | indicative | 0.
|
|
62
|
-
| INR | CAD | indicative | 0.
|
|
63
|
-
| JPY | CAD | indicative | 0.
|
|
64
|
-
| KRW | CAD | indicative | 0.
|
|
65
|
-
| MXN | CAD | indicative | 0.
|
|
66
|
-
| MYR | CAD | indicative | 0.
|
|
67
|
-
| NOK | CAD | indicative | 0.
|
|
68
|
-
| NZD | CAD | indicative | 0.
|
|
69
|
-
| PEN | CAD | indicative | 0.
|
|
70
|
-
| PLN | CAD | indicative | 0.
|
|
71
|
-
| SEK | CAD | indicative | 0.
|
|
72
|
-
| SGD | CAD | indicative | 1.
|
|
73
|
-
| THB | CAD | indicative | 0.
|
|
74
|
-
| TRY | CAD | indicative | 0.
|
|
75
|
-
| TWD | CAD | indicative | 0.
|
|
76
|
-
| USD | CAD | indicative | 1.
|
|
77
|
-
| ZAR | CAD | indicative | 0.
|
|
54
|
+
| AUD | CAD | indicative | 0.9848 |
|
|
55
|
+
| BRL | CAD | indicative | 0.2582 |
|
|
56
|
+
| CHF | CAD | indicative | 1.6961 |
|
|
57
|
+
| CNY | CAD | indicative | 0.2103 |
|
|
58
|
+
| EUR | CAD | indicative | 1.5687 |
|
|
59
|
+
| GBP | CAD | indicative | 1.8721 |
|
|
60
|
+
| HKD | CAD | indicative | 0.1788 |
|
|
61
|
+
| IDR | CAD | indicative | 0.000077 |
|
|
62
|
+
| INR | CAD | indicative | 0.01473 |
|
|
63
|
+
| JPY | CAD | indicative | 0.00891 |
|
|
64
|
+
| KRW | CAD | indicative | 0.001058 |
|
|
65
|
+
| MXN | CAD | indicative | 0.07543 |
|
|
66
|
+
| MYR | CAD | indicative | 0.3431 |
|
|
67
|
+
| NOK | CAD | indicative | 0.1504 |
|
|
68
|
+
| NZD | CAD | indicative | 0.797 |
|
|
69
|
+
| PEN | CAD | indicative | 0.4073 |
|
|
70
|
+
| PLN | CAD | indicative | 0.3562 |
|
|
71
|
+
| SEK | CAD | indicative | 0.1409 |
|
|
72
|
+
| SGD | CAD | indicative | 1.0951 |
|
|
73
|
+
| THB | CAD | indicative | 0.04151 |
|
|
74
|
+
| TRY | CAD | indicative | 0.0282 |
|
|
75
|
+
| TWD | CAD | indicative | 0.04305 |
|
|
76
|
+
| USD | CAD | indicative | 1.4025 |
|
|
77
|
+
| ZAR | CAD | indicative | 0.08428 |
|
|
78
78
|
|
|
79
79
|
</details>
|
|
80
80
|
|
|
@@ -347,6 +347,7 @@ Need the whole archive rather than an API call? The same published tables are mi
|
|
|
347
347
|
- [API documentation](https://allratestoday.com/docs/#central-bank) ยท [Interactive reference](https://allratestoday.com/api-reference/) ยท [Methodology](https://allratestoday.com/official-rates-methodology/)
|
|
348
348
|
- [Register (Free)](https://allratestoday.com/register) ยท [Dashboard](https://allratestoday.com/profile) ยท [Pricing](https://allratestoday.com/pricing/)
|
|
349
349
|
- [Status](https://allratestoday.com/status)
|
|
350
|
+
- [Postman collection](https://allratestoday.com/postman/)
|
|
350
351
|
- [GitHub](https://github.com/AllRates-Today/boc-exchange-rate)
|
|
351
352
|
|
|
352
353
|
## ๐ License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/boc-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.18",
|
|
4
4
|
"description": "Official Bank of Canada (Canada) daily exchange rates โ 24 currencies vs CAD, history since 2017. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"boc",
|