@apiverve/worldholidays 1.1.7 → 1.1.8
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 +165 -172
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,177 +68,170 @@ api.execute(query, function (error, data) {
|
|
|
68
68
|
###### Example Response
|
|
69
69
|
|
|
70
70
|
```
|
|
71
|
-
{
|
|
72
|
-
"status": "ok",
|
|
73
|
-
"error": null,
|
|
74
|
-
"data": {
|
|
75
|
-
"country": "US",
|
|
76
|
-
"year": "
|
|
77
|
-
"holidays": [
|
|
78
|
-
{
|
|
79
|
-
"date": "
|
|
80
|
-
"start": "
|
|
81
|
-
"end": "
|
|
82
|
-
"name": "New Year's Day",
|
|
83
|
-
"type": "public"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"date": "
|
|
87
|
-
"start": "
|
|
88
|
-
"end": "
|
|
89
|
-
"name": "Martin Luther King Jr. Day",
|
|
90
|
-
"type": "public"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"date": "
|
|
94
|
-
"start": "
|
|
95
|
-
"end": "
|
|
96
|
-
"name": "Valentine's Day",
|
|
97
|
-
"type": "observance"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"date": "
|
|
101
|
-
"start": "
|
|
102
|
-
"end": "
|
|
103
|
-
"name": "Washington's Birthday",
|
|
104
|
-
"type": "public"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"date": "
|
|
108
|
-
"start": "
|
|
109
|
-
"end": "
|
|
110
|
-
"name": "St. Patrick's Day",
|
|
111
|
-
"type": "observance"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"date": "
|
|
115
|
-
"start": "
|
|
116
|
-
"end": "
|
|
117
|
-
"name": "
|
|
118
|
-
"type": "observance"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"date": "
|
|
122
|
-
"start": "
|
|
123
|
-
"end": "
|
|
124
|
-
"name": "
|
|
125
|
-
"type": "observance"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"date": "
|
|
129
|
-
"start": "
|
|
130
|
-
"end": "
|
|
131
|
-
"name": "Administrative Professionals Day",
|
|
132
|
-
"type": "observance"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"date": "
|
|
136
|
-
"start": "
|
|
137
|
-
"end": "
|
|
138
|
-
"name": "Mother's Day",
|
|
139
|
-
"type": "observance"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"date": "
|
|
143
|
-
"start": "
|
|
144
|
-
"end": "
|
|
145
|
-
"name": "Memorial Day",
|
|
146
|
-
"type": "public"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"date": "
|
|
150
|
-
"start": "
|
|
151
|
-
"end": "
|
|
152
|
-
"name": "Father's Day",
|
|
153
|
-
"type": "observance"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"date": "
|
|
157
|
-
"start": "
|
|
158
|
-
"end": "
|
|
159
|
-
"name": "Juneteenth",
|
|
160
|
-
"type": "public"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"date": "
|
|
164
|
-
"start": "
|
|
165
|
-
"end": "
|
|
166
|
-
"name": "Independence Day",
|
|
167
|
-
"type": "public"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"date": "
|
|
171
|
-
"start": "
|
|
172
|
-
"end": "
|
|
173
|
-
"name": "Labor Day",
|
|
174
|
-
"type": "public"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"date": "
|
|
178
|
-
"start": "
|
|
179
|
-
"end": "
|
|
180
|
-
"name": "Columbus Day",
|
|
181
|
-
"type": "public"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"date": "
|
|
185
|
-
"start": "
|
|
186
|
-
"end": "
|
|
187
|
-
"name": "Halloween",
|
|
188
|
-
"type": "observance"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"date": "
|
|
192
|
-
"start": "
|
|
193
|
-
"end": "
|
|
194
|
-
"name": "
|
|
195
|
-
"type": "
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
"date": "
|
|
199
|
-
"start": "
|
|
200
|
-
"end": "
|
|
201
|
-
"name": "
|
|
202
|
-
"type": "public"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"date": "
|
|
206
|
-
"start": "
|
|
207
|
-
"end": "
|
|
208
|
-
"name": "Thanksgiving Day",
|
|
209
|
-
"type": "
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"date": "
|
|
213
|
-
"start": "
|
|
214
|
-
"end": "
|
|
215
|
-
"name": "
|
|
216
|
-
"type": "
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"date": "
|
|
220
|
-
"start": "
|
|
221
|
-
"end": "
|
|
222
|
-
"name": "Christmas
|
|
223
|
-
"type": "
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"date": "
|
|
227
|
-
"start": "
|
|
228
|
-
"end": "
|
|
229
|
-
"name": "
|
|
230
|
-
"type": "
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
"end": "2025-01-01T05:00:00Z",
|
|
236
|
-
"name": "New Year's Eve",
|
|
237
|
-
"type": "observance"
|
|
238
|
-
}
|
|
239
|
-
]
|
|
240
|
-
},
|
|
241
|
-
"code": 200
|
|
71
|
+
{
|
|
72
|
+
"status": "ok",
|
|
73
|
+
"error": null,
|
|
74
|
+
"data": {
|
|
75
|
+
"country": "US",
|
|
76
|
+
"year": "2025",
|
|
77
|
+
"holidays": [
|
|
78
|
+
{
|
|
79
|
+
"date": "2025-01-01 00:00:00",
|
|
80
|
+
"start": "2025-01-01T05:00:00Z",
|
|
81
|
+
"end": "2025-01-02T05:00:00Z",
|
|
82
|
+
"name": "New Year's Day",
|
|
83
|
+
"type": "public"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"date": "2025-01-20 00:00:00",
|
|
87
|
+
"start": "2025-01-20T05:00:00Z",
|
|
88
|
+
"end": "2025-01-21T05:00:00Z",
|
|
89
|
+
"name": "Martin Luther King Jr. Day",
|
|
90
|
+
"type": "public"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"date": "2025-02-14 00:00:00",
|
|
94
|
+
"start": "2025-02-14T05:00:00Z",
|
|
95
|
+
"end": "2025-02-15T05:00:00Z",
|
|
96
|
+
"name": "Valentine's Day",
|
|
97
|
+
"type": "observance"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"date": "2025-02-17 00:00:00",
|
|
101
|
+
"start": "2025-02-17T05:00:00Z",
|
|
102
|
+
"end": "2025-02-18T05:00:00Z",
|
|
103
|
+
"name": "Washington's Birthday",
|
|
104
|
+
"type": "public"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"date": "2025-03-17 00:00:00",
|
|
108
|
+
"start": "2025-03-17T04:00:00Z",
|
|
109
|
+
"end": "2025-03-18T04:00:00Z",
|
|
110
|
+
"name": "St. Patrick's Day",
|
|
111
|
+
"type": "observance"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"date": "2025-04-15 00:00:00",
|
|
115
|
+
"start": "2025-04-15T04:00:00Z",
|
|
116
|
+
"end": "2025-04-16T04:00:00Z",
|
|
117
|
+
"name": "Tax Day",
|
|
118
|
+
"type": "observance"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"date": "2025-04-20 00:00:00",
|
|
122
|
+
"start": "2025-04-20T04:00:00Z",
|
|
123
|
+
"end": "2025-04-21T04:00:00Z",
|
|
124
|
+
"name": "Easter Sunday",
|
|
125
|
+
"type": "observance"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"date": "2025-04-23 00:00:00",
|
|
129
|
+
"start": "2025-04-23T04:00:00Z",
|
|
130
|
+
"end": "2025-04-24T04:00:00Z",
|
|
131
|
+
"name": "Administrative Professionals Day",
|
|
132
|
+
"type": "observance"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"date": "2025-05-11 00:00:00",
|
|
136
|
+
"start": "2025-05-11T04:00:00Z",
|
|
137
|
+
"end": "2025-05-12T04:00:00Z",
|
|
138
|
+
"name": "Mother's Day",
|
|
139
|
+
"type": "observance"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"date": "2025-05-26 00:00:00",
|
|
143
|
+
"start": "2025-05-26T04:00:00Z",
|
|
144
|
+
"end": "2025-05-27T04:00:00Z",
|
|
145
|
+
"name": "Memorial Day",
|
|
146
|
+
"type": "public"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"date": "2025-06-15 00:00:00",
|
|
150
|
+
"start": "2025-06-15T04:00:00Z",
|
|
151
|
+
"end": "2025-06-16T04:00:00Z",
|
|
152
|
+
"name": "Father's Day",
|
|
153
|
+
"type": "observance"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"date": "2025-06-19 00:00:00",
|
|
157
|
+
"start": "2025-06-19T04:00:00Z",
|
|
158
|
+
"end": "2025-06-20T04:00:00Z",
|
|
159
|
+
"name": "Juneteenth",
|
|
160
|
+
"type": "public"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"date": "2025-07-04 00:00:00",
|
|
164
|
+
"start": "2025-07-04T04:00:00Z",
|
|
165
|
+
"end": "2025-07-05T04:00:00Z",
|
|
166
|
+
"name": "Independence Day",
|
|
167
|
+
"type": "public"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"date": "2025-09-01 00:00:00",
|
|
171
|
+
"start": "2025-09-01T04:00:00Z",
|
|
172
|
+
"end": "2025-09-02T04:00:00Z",
|
|
173
|
+
"name": "Labor Day",
|
|
174
|
+
"type": "public"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"date": "2025-10-13 00:00:00",
|
|
178
|
+
"start": "2025-10-13T04:00:00Z",
|
|
179
|
+
"end": "2025-10-14T04:00:00Z",
|
|
180
|
+
"name": "Columbus Day",
|
|
181
|
+
"type": "public"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"date": "2025-10-31 18:00:00",
|
|
185
|
+
"start": "2025-10-31T22:00:00Z",
|
|
186
|
+
"end": "2025-11-01T04:00:00Z",
|
|
187
|
+
"name": "Halloween",
|
|
188
|
+
"type": "observance"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"date": "2025-11-11 00:00:00",
|
|
192
|
+
"start": "2025-11-11T05:00:00Z",
|
|
193
|
+
"end": "2025-11-12T05:00:00Z",
|
|
194
|
+
"name": "Veterans Day",
|
|
195
|
+
"type": "public"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"date": "2025-11-27 00:00:00",
|
|
199
|
+
"start": "2025-11-27T05:00:00Z",
|
|
200
|
+
"end": "2025-11-28T05:00:00Z",
|
|
201
|
+
"name": "Thanksgiving Day",
|
|
202
|
+
"type": "public"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"date": "2025-11-28 00:00:00",
|
|
206
|
+
"start": "2025-11-28T05:00:00Z",
|
|
207
|
+
"end": "2025-11-29T05:00:00Z",
|
|
208
|
+
"name": "Day after Thanksgiving Day",
|
|
209
|
+
"type": "observance"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"date": "2025-12-24 00:00:00",
|
|
213
|
+
"start": "2025-12-24T05:00:00Z",
|
|
214
|
+
"end": "2025-12-25T05:00:00Z",
|
|
215
|
+
"name": "Christmas Eve",
|
|
216
|
+
"type": "optional"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"date": "2025-12-25 00:00:00",
|
|
220
|
+
"start": "2025-12-25T05:00:00Z",
|
|
221
|
+
"end": "2025-12-26T05:00:00Z",
|
|
222
|
+
"name": "Christmas Day",
|
|
223
|
+
"type": "public"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"date": "2025-12-31 00:00:00",
|
|
227
|
+
"start": "2025-12-31T05:00:00Z",
|
|
228
|
+
"end": "2026-01-01T05:00:00Z",
|
|
229
|
+
"name": "New Year's Eve",
|
|
230
|
+
"type": "observance"
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
"code": 200
|
|
242
235
|
}
|
|
243
236
|
```
|
|
244
237
|
|
|
@@ -264,7 +257,7 @@ All usage of the APIVerve website, API, and services is subject to the [APIVerve
|
|
|
264
257
|
## License
|
|
265
258
|
Licensed under the The MIT License (MIT)
|
|
266
259
|
|
|
267
|
-
Copyright (©)
|
|
260
|
+
Copyright (©) 2025 APIVerve, and EvlarSoft LLC
|
|
268
261
|
|
|
269
262
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
270
263
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apiverve/worldholidays",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"description": "World Holidays is a simple tool for getting the holidays of the world. It returns the holidays of the world for each day of the year.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|