banguat-exchange-rate 1.3.9 → 1.3.10
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 +9 -9
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -42,11 +42,11 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
|
|
|
42
42
|
The image is rendered live from the keyless endpoint above, so it follows the central bank's publications on npm and on GitHub alike without a new release. The text copy below is there for search and copy-paste: on GitHub [a daily Action](.github/workflows/daily-table.yml) refreshes it whenever the central bank publishes a new table; on npm it is as of the package's publish date.
|
|
43
43
|
|
|
44
44
|
<!-- daily-table:start -->
|
|
45
|
-
Published **2026-10-
|
|
45
|
+
Published **2026-10-14** by Banco de Guatemala — 1 rate. Updated 2026-10-14.
|
|
46
46
|
|
|
47
47
|
| Base | Quote | Type | Rate |
|
|
48
48
|
| --- | --- | --- | ---: |
|
|
49
|
-
| USD | GTQ | reference | 7.
|
|
49
|
+
| USD | GTQ | reference | 7.63988 |
|
|
50
50
|
|
|
51
51
|
Source: [Official rates published by BANGUAT, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/banguat/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
52
52
|
<!-- daily-table:end -->
|
|
@@ -103,10 +103,10 @@ const pair = await getRate('USD', 'GTQ', { apiKey: 'art_live_...' });
|
|
|
103
103
|
{
|
|
104
104
|
bank: 'banguat',
|
|
105
105
|
name: 'Banco de Guatemala',
|
|
106
|
-
rate_date: '2026-10-
|
|
106
|
+
rate_date: '2026-10-14', // Banco de Guatemala's own publication date
|
|
107
107
|
source: 'USD',
|
|
108
108
|
target: 'GTQ',
|
|
109
|
-
rate: 7.
|
|
109
|
+
rate: 7.63988,
|
|
110
110
|
rate_type: 'reference',
|
|
111
111
|
derived: false,
|
|
112
112
|
method: 'published',
|
|
@@ -131,9 +131,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
131
131
|
{
|
|
132
132
|
bank: 'banguat',
|
|
133
133
|
name: 'Banco de Guatemala',
|
|
134
|
-
rate_date: '2026-10-
|
|
134
|
+
rate_date: '2026-10-14',
|
|
135
135
|
rates: [
|
|
136
|
-
{ "base": "USD", "quote": "GTQ", "type": "reference", "value": 7.
|
|
136
|
+
{ "base": "USD", "quote": "GTQ", "type": "reference", "value": 7.63988 },
|
|
137
137
|
// … the rest of the published table (26 currencies vs GTQ)
|
|
138
138
|
],
|
|
139
139
|
disclaimer: '…'
|
|
@@ -173,7 +173,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
|
|
|
173
173
|
import { getHistory } from 'banguat-exchange-rate';
|
|
174
174
|
|
|
175
175
|
const series = await getHistory(
|
|
176
|
-
{ source: 'USD', target: 'GTQ', from: '2026-01-01', to: '2026-10-
|
|
176
|
+
{ source: 'USD', target: 'GTQ', from: '2026-01-01', to: '2026-10-14' },
|
|
177
177
|
{ apiKey: 'art_live_...' }
|
|
178
178
|
);
|
|
179
179
|
```
|
|
@@ -186,11 +186,11 @@ const series = await getHistory(
|
|
|
186
186
|
source: 'USD',
|
|
187
187
|
target: 'GTQ',
|
|
188
188
|
from: '2026-01-01',
|
|
189
|
-
to: '2026-10-
|
|
189
|
+
to: '2026-10-14',
|
|
190
190
|
count: 152,
|
|
191
191
|
rates: [
|
|
192
192
|
// one entry per publication date
|
|
193
|
-
{ date: '2026-10-
|
|
193
|
+
{ date: '2026-10-14', rate: 7.63988, rate_type: 'reference', derived: false, method: 'published' },
|
|
194
194
|
// …
|
|
195
195
|
],
|
|
196
196
|
disclaimer: '…'
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "banguat-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.10",
|
|
4
4
|
"description": "Official Banco de Guatemala (Guatemala) daily exchange rates — 26 currencies vs GTQ, history since 2004. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"banguat",
|
|
7
|
+
"banco-de-guatemala",
|
|
7
8
|
"banco",
|
|
8
|
-
"de",
|
|
9
9
|
"guatemala",
|
|
10
10
|
"exchange-rate",
|
|
11
11
|
"exchange-rates",
|
|
12
|
+
"gtq-exchange-rate",
|
|
12
13
|
"currency",
|
|
13
14
|
"forex",
|
|
14
15
|
"fx",
|
|
15
16
|
"gtq",
|
|
16
17
|
"central-bank",
|
|
17
18
|
"official-rates",
|
|
18
|
-
"guatemala",
|
|
19
19
|
"api",
|
|
20
20
|
"typescript"
|
|
21
21
|
],
|