banguat-exchange-rate 1.3.8 → 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 +12 -10
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -37,14 +37,16 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
|
|
|
37
37
|
|
|
38
38
|
## 📈 Latest published table
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
[](https://allratestoday.com/central-bank-rates-api/banguat/)
|
|
41
|
+
|
|
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.
|
|
41
43
|
|
|
42
44
|
<!-- daily-table:start -->
|
|
43
|
-
Published **2026-10-
|
|
45
|
+
Published **2026-10-14** by Banco de Guatemala — 1 rate. Updated 2026-10-14.
|
|
44
46
|
|
|
45
47
|
| Base | Quote | Type | Rate |
|
|
46
48
|
| --- | --- | --- | ---: |
|
|
47
|
-
| USD | GTQ | reference | 7.
|
|
49
|
+
| USD | GTQ | reference | 7.63988 |
|
|
48
50
|
|
|
49
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.
|
|
50
52
|
<!-- daily-table:end -->
|
|
@@ -101,10 +103,10 @@ const pair = await getRate('USD', 'GTQ', { apiKey: 'art_live_...' });
|
|
|
101
103
|
{
|
|
102
104
|
bank: 'banguat',
|
|
103
105
|
name: 'Banco de Guatemala',
|
|
104
|
-
rate_date: '2026-10-
|
|
106
|
+
rate_date: '2026-10-14', // Banco de Guatemala's own publication date
|
|
105
107
|
source: 'USD',
|
|
106
108
|
target: 'GTQ',
|
|
107
|
-
rate: 7.
|
|
109
|
+
rate: 7.63988,
|
|
108
110
|
rate_type: 'reference',
|
|
109
111
|
derived: false,
|
|
110
112
|
method: 'published',
|
|
@@ -129,9 +131,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
129
131
|
{
|
|
130
132
|
bank: 'banguat',
|
|
131
133
|
name: 'Banco de Guatemala',
|
|
132
|
-
rate_date: '2026-10-
|
|
134
|
+
rate_date: '2026-10-14',
|
|
133
135
|
rates: [
|
|
134
|
-
{ "base": "USD", "quote": "GTQ", "type": "reference", "value": 7.
|
|
136
|
+
{ "base": "USD", "quote": "GTQ", "type": "reference", "value": 7.63988 },
|
|
135
137
|
// … the rest of the published table (26 currencies vs GTQ)
|
|
136
138
|
],
|
|
137
139
|
disclaimer: '…'
|
|
@@ -171,7 +173,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
|
|
|
171
173
|
import { getHistory } from 'banguat-exchange-rate';
|
|
172
174
|
|
|
173
175
|
const series = await getHistory(
|
|
174
|
-
{ source: 'USD', target: 'GTQ', from: '2026-01-01', to: '2026-10-
|
|
176
|
+
{ source: 'USD', target: 'GTQ', from: '2026-01-01', to: '2026-10-14' },
|
|
175
177
|
{ apiKey: 'art_live_...' }
|
|
176
178
|
);
|
|
177
179
|
```
|
|
@@ -184,11 +186,11 @@ const series = await getHistory(
|
|
|
184
186
|
source: 'USD',
|
|
185
187
|
target: 'GTQ',
|
|
186
188
|
from: '2026-01-01',
|
|
187
|
-
to: '2026-10-
|
|
189
|
+
to: '2026-10-14',
|
|
188
190
|
count: 152,
|
|
189
191
|
rates: [
|
|
190
192
|
// one entry per publication date
|
|
191
|
-
{ date: '2026-10-
|
|
193
|
+
{ date: '2026-10-14', rate: 7.63988, rate_type: 'reference', derived: false, method: 'published' },
|
|
192
194
|
// …
|
|
193
195
|
],
|
|
194
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
|
],
|