@apiverve/worldholidays 1.1.5 → 1.1.7

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.
Files changed (2) hide show
  1. package/README.md +172 -172
  2. package/package.json +31 -31
package/README.md CHANGED
@@ -49,7 +49,7 @@ Using the API client, you can perform requests to the API.
49
49
  ```
50
50
  var query = {
51
51
  country: "US",
52
- year: 2024
52
+ year: 2025
53
53
  };
54
54
  ```
55
55
 
@@ -68,177 +68,177 @@ 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": "2024",
77
- "holidays": [
78
- {
79
- "date": "2024-01-01 00:00:00",
80
- "start": "2024-01-01T05:00:00Z",
81
- "end": "2024-01-02T05:00:00Z",
82
- "name": "New Year's Day",
83
- "type": "public"
84
- },
85
- {
86
- "date": "2024-01-15 00:00:00",
87
- "start": "2024-01-15T05:00:00Z",
88
- "end": "2024-01-16T05:00:00Z",
89
- "name": "Martin Luther King Jr. Day",
90
- "type": "public"
91
- },
92
- {
93
- "date": "2024-02-14 00:00:00",
94
- "start": "2024-02-14T05:00:00Z",
95
- "end": "2024-02-15T05:00:00Z",
96
- "name": "Valentine's Day",
97
- "type": "observance"
98
- },
99
- {
100
- "date": "2024-02-19 00:00:00",
101
- "start": "2024-02-19T05:00:00Z",
102
- "end": "2024-02-20T05:00:00Z",
103
- "name": "Washington's Birthday",
104
- "type": "public"
105
- },
106
- {
107
- "date": "2024-03-17 00:00:00",
108
- "start": "2024-03-17T04:00:00Z",
109
- "end": "2024-03-18T04:00:00Z",
110
- "name": "St. Patrick's Day",
111
- "type": "observance"
112
- },
113
- {
114
- "date": "2024-03-31 00:00:00",
115
- "start": "2024-03-31T04:00:00Z",
116
- "end": "2024-04-01T04:00:00Z",
117
- "name": "Easter Sunday",
118
- "type": "observance"
119
- },
120
- {
121
- "date": "2024-04-15 00:00:00",
122
- "start": "2024-04-15T04:00:00Z",
123
- "end": "2024-04-16T04:00:00Z",
124
- "name": "Tax Day",
125
- "type": "observance"
126
- },
127
- {
128
- "date": "2024-04-24 00:00:00",
129
- "start": "2024-04-24T04:00:00Z",
130
- "end": "2024-04-25T04:00:00Z",
131
- "name": "Administrative Professionals Day",
132
- "type": "observance"
133
- },
134
- {
135
- "date": "2024-05-12 00:00:00",
136
- "start": "2024-05-12T04:00:00Z",
137
- "end": "2024-05-13T04:00:00Z",
138
- "name": "Mother's Day",
139
- "type": "observance"
140
- },
141
- {
142
- "date": "2024-05-27 00:00:00",
143
- "start": "2024-05-27T04:00:00Z",
144
- "end": "2024-05-28T04:00:00Z",
145
- "name": "Memorial Day",
146
- "type": "public"
147
- },
148
- {
149
- "date": "2024-06-16 00:00:00",
150
- "start": "2024-06-16T04:00:00Z",
151
- "end": "2024-06-17T04:00:00Z",
152
- "name": "Father's Day",
153
- "type": "observance"
154
- },
155
- {
156
- "date": "2024-06-19 00:00:00",
157
- "start": "2024-06-19T04:00:00Z",
158
- "end": "2024-06-20T04:00:00Z",
159
- "name": "Juneteenth",
160
- "type": "public"
161
- },
162
- {
163
- "date": "2024-07-04 00:00:00",
164
- "start": "2024-07-04T04:00:00Z",
165
- "end": "2024-07-05T04:00:00Z",
166
- "name": "Independence Day",
167
- "type": "public"
168
- },
169
- {
170
- "date": "2024-09-02 00:00:00",
171
- "start": "2024-09-02T04:00:00Z",
172
- "end": "2024-09-03T04:00:00Z",
173
- "name": "Labor Day",
174
- "type": "public"
175
- },
176
- {
177
- "date": "2024-10-14 00:00:00",
178
- "start": "2024-10-14T04:00:00Z",
179
- "end": "2024-10-15T04:00:00Z",
180
- "name": "Columbus Day",
181
- "type": "public"
182
- },
183
- {
184
- "date": "2024-10-31 18:00:00",
185
- "start": "2024-10-31T22:00:00Z",
186
- "end": "2024-11-01T04:00:00Z",
187
- "name": "Halloween",
188
- "type": "observance"
189
- },
190
- {
191
- "date": "2024-11-05 00:00:00",
192
- "start": "2024-11-05T05:00:00Z",
193
- "end": "2024-11-06T05:00:00Z",
194
- "name": "Election Day",
195
- "type": "observance"
196
- },
197
- {
198
- "date": "2024-11-11 00:00:00",
199
- "start": "2024-11-11T05:00:00Z",
200
- "end": "2024-11-12T05:00:00Z",
201
- "name": "Veterans Day",
202
- "type": "public"
203
- },
204
- {
205
- "date": "2024-11-28 00:00:00",
206
- "start": "2024-11-28T05:00:00Z",
207
- "end": "2024-11-29T05:00:00Z",
208
- "name": "Thanksgiving Day",
209
- "type": "public"
210
- },
211
- {
212
- "date": "2024-11-29 00:00:00",
213
- "start": "2024-11-29T05:00:00Z",
214
- "end": "2024-11-30T05:00:00Z",
215
- "name": "Day after Thanksgiving Day",
216
- "type": "observance"
217
- },
218
- {
219
- "date": "2024-12-24 00:00:00",
220
- "start": "2024-12-24T05:00:00Z",
221
- "end": "2024-12-25T05:00:00Z",
222
- "name": "Christmas Eve",
223
- "type": "optional"
224
- },
225
- {
226
- "date": "2024-12-25 00:00:00",
227
- "start": "2024-12-25T05:00:00Z",
228
- "end": "2024-12-26T05:00:00Z",
229
- "name": "Christmas Day",
230
- "type": "public"
231
- },
232
- {
233
- "date": "2024-12-31 00:00:00",
234
- "start": "2024-12-31T05:00:00Z",
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": "2024",
77
+ "holidays": [
78
+ {
79
+ "date": "2024-01-01 00:00:00",
80
+ "start": "2024-01-01T05:00:00Z",
81
+ "end": "2024-01-02T05:00:00Z",
82
+ "name": "New Year's Day",
83
+ "type": "public"
84
+ },
85
+ {
86
+ "date": "2024-01-15 00:00:00",
87
+ "start": "2024-01-15T05:00:00Z",
88
+ "end": "2024-01-16T05:00:00Z",
89
+ "name": "Martin Luther King Jr. Day",
90
+ "type": "public"
91
+ },
92
+ {
93
+ "date": "2024-02-14 00:00:00",
94
+ "start": "2024-02-14T05:00:00Z",
95
+ "end": "2024-02-15T05:00:00Z",
96
+ "name": "Valentine's Day",
97
+ "type": "observance"
98
+ },
99
+ {
100
+ "date": "2024-02-19 00:00:00",
101
+ "start": "2024-02-19T05:00:00Z",
102
+ "end": "2024-02-20T05:00:00Z",
103
+ "name": "Washington's Birthday",
104
+ "type": "public"
105
+ },
106
+ {
107
+ "date": "2024-03-17 00:00:00",
108
+ "start": "2024-03-17T04:00:00Z",
109
+ "end": "2024-03-18T04:00:00Z",
110
+ "name": "St. Patrick's Day",
111
+ "type": "observance"
112
+ },
113
+ {
114
+ "date": "2024-03-31 00:00:00",
115
+ "start": "2024-03-31T04:00:00Z",
116
+ "end": "2024-04-01T04:00:00Z",
117
+ "name": "Easter Sunday",
118
+ "type": "observance"
119
+ },
120
+ {
121
+ "date": "2024-04-15 00:00:00",
122
+ "start": "2024-04-15T04:00:00Z",
123
+ "end": "2024-04-16T04:00:00Z",
124
+ "name": "Tax Day",
125
+ "type": "observance"
126
+ },
127
+ {
128
+ "date": "2024-04-24 00:00:00",
129
+ "start": "2024-04-24T04:00:00Z",
130
+ "end": "2024-04-25T04:00:00Z",
131
+ "name": "Administrative Professionals Day",
132
+ "type": "observance"
133
+ },
134
+ {
135
+ "date": "2024-05-12 00:00:00",
136
+ "start": "2024-05-12T04:00:00Z",
137
+ "end": "2024-05-13T04:00:00Z",
138
+ "name": "Mother's Day",
139
+ "type": "observance"
140
+ },
141
+ {
142
+ "date": "2024-05-27 00:00:00",
143
+ "start": "2024-05-27T04:00:00Z",
144
+ "end": "2024-05-28T04:00:00Z",
145
+ "name": "Memorial Day",
146
+ "type": "public"
147
+ },
148
+ {
149
+ "date": "2024-06-16 00:00:00",
150
+ "start": "2024-06-16T04:00:00Z",
151
+ "end": "2024-06-17T04:00:00Z",
152
+ "name": "Father's Day",
153
+ "type": "observance"
154
+ },
155
+ {
156
+ "date": "2024-06-19 00:00:00",
157
+ "start": "2024-06-19T04:00:00Z",
158
+ "end": "2024-06-20T04:00:00Z",
159
+ "name": "Juneteenth",
160
+ "type": "public"
161
+ },
162
+ {
163
+ "date": "2024-07-04 00:00:00",
164
+ "start": "2024-07-04T04:00:00Z",
165
+ "end": "2024-07-05T04:00:00Z",
166
+ "name": "Independence Day",
167
+ "type": "public"
168
+ },
169
+ {
170
+ "date": "2024-09-02 00:00:00",
171
+ "start": "2024-09-02T04:00:00Z",
172
+ "end": "2024-09-03T04:00:00Z",
173
+ "name": "Labor Day",
174
+ "type": "public"
175
+ },
176
+ {
177
+ "date": "2024-10-14 00:00:00",
178
+ "start": "2024-10-14T04:00:00Z",
179
+ "end": "2024-10-15T04:00:00Z",
180
+ "name": "Columbus Day",
181
+ "type": "public"
182
+ },
183
+ {
184
+ "date": "2024-10-31 18:00:00",
185
+ "start": "2024-10-31T22:00:00Z",
186
+ "end": "2024-11-01T04:00:00Z",
187
+ "name": "Halloween",
188
+ "type": "observance"
189
+ },
190
+ {
191
+ "date": "2024-11-05 00:00:00",
192
+ "start": "2024-11-05T05:00:00Z",
193
+ "end": "2024-11-06T05:00:00Z",
194
+ "name": "Election Day",
195
+ "type": "observance"
196
+ },
197
+ {
198
+ "date": "2024-11-11 00:00:00",
199
+ "start": "2024-11-11T05:00:00Z",
200
+ "end": "2024-11-12T05:00:00Z",
201
+ "name": "Veterans Day",
202
+ "type": "public"
203
+ },
204
+ {
205
+ "date": "2024-11-28 00:00:00",
206
+ "start": "2024-11-28T05:00:00Z",
207
+ "end": "2024-11-29T05:00:00Z",
208
+ "name": "Thanksgiving Day",
209
+ "type": "public"
210
+ },
211
+ {
212
+ "date": "2024-11-29 00:00:00",
213
+ "start": "2024-11-29T05:00:00Z",
214
+ "end": "2024-11-30T05:00:00Z",
215
+ "name": "Day after Thanksgiving Day",
216
+ "type": "observance"
217
+ },
218
+ {
219
+ "date": "2024-12-24 00:00:00",
220
+ "start": "2024-12-24T05:00:00Z",
221
+ "end": "2024-12-25T05:00:00Z",
222
+ "name": "Christmas Eve",
223
+ "type": "optional"
224
+ },
225
+ {
226
+ "date": "2024-12-25 00:00:00",
227
+ "start": "2024-12-25T05:00:00Z",
228
+ "end": "2024-12-26T05:00:00Z",
229
+ "name": "Christmas Day",
230
+ "type": "public"
231
+ },
232
+ {
233
+ "date": "2024-12-31 00:00:00",
234
+ "start": "2024-12-31T05:00:00Z",
235
+ "end": "2025-01-01T05:00:00Z",
236
+ "name": "New Year's Eve",
237
+ "type": "observance"
238
+ }
239
+ ]
240
+ },
241
+ "code": 200
242
242
  }
243
243
  ```
244
244
 
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "@apiverve/worldholidays",
3
- "version": "1.1.5",
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
- "main": "index.js",
6
- "scripts": {
7
- "test": "mocha"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/apiverve/worldholidays-API.git"
12
- },
13
- "keywords": [
14
- "world holidays","world holidays api","world holidays tool","world holidays software","world holidays service"
15
- ],
16
- "author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
17
- "license": "MIT",
18
- "bugs": {
19
- "url": "https://github.com/apiverve/worldholidays-API/issues"
20
- },
21
- "homepage": "https://apiverve.com/marketplace/api/worldholidays?utm_source=npm",
22
- "devDependencies": {
23
- "mocha": "^10.7.3",
24
- "chai": "^5.1.1",
25
- "dotenv": "^16.4.5"
26
- },
27
- "dependencies": {
28
- "node-fetch": "^3.3.2",
29
- "promise": "^8.3.0",
30
- "axios": "1.7.7"
31
- }
1
+ {
2
+ "name": "@apiverve/worldholidays",
3
+ "version": "1.1.7",
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
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "mocha"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/apiverve/worldholidays-API.git"
12
+ },
13
+ "keywords": [
14
+ "world holidays","world holidays api","world holidays tool","world holidays software","world holidays service"
15
+ ],
16
+ "author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
17
+ "license": "MIT",
18
+ "bugs": {
19
+ "url": "https://github.com/apiverve/worldholidays-API/issues"
20
+ },
21
+ "homepage": "https://apiverve.com/marketplace/api/worldholidays?utm_source=npm",
22
+ "devDependencies": {
23
+ "mocha": "^11.0.1",
24
+ "chai": "^5.1.2",
25
+ "dotenv": "^16.4.7"
26
+ },
27
+ "dependencies": {
28
+ "node-fetch": "^3.3.2",
29
+ "promise": "^8.3.0",
30
+ "axios": "1.7.9"
31
+ }
32
32
  }