@apiverve/worldtime 1.1.4 → 1.1.6
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 +52 -52
- package/package.json +31 -31
package/README.md
CHANGED
|
@@ -67,58 +67,58 @@ api.execute(query, function (error, data) {
|
|
|
67
67
|
###### Example Response
|
|
68
68
|
|
|
69
69
|
```
|
|
70
|
-
{
|
|
71
|
-
"status": "ok",
|
|
72
|
-
"error": null,
|
|
73
|
-
"data": {
|
|
74
|
-
"search": "San Francisco",
|
|
75
|
-
"foundCities": [
|
|
76
|
-
{
|
|
77
|
-
"city": "San Francisco",
|
|
78
|
-
"city_ascii": "San Francisco",
|
|
79
|
-
"country": "Argentina",
|
|
80
|
-
"iso2": "AR",
|
|
81
|
-
"iso3": "ARG",
|
|
82
|
-
"province": "Córdoba",
|
|
83
|
-
"timezone": "America/Argentina/Cordoba",
|
|
84
|
-
"time": "
|
|
85
|
-
"time24": "
|
|
86
|
-
"time12": "
|
|
87
|
-
"date": "2024-
|
|
88
|
-
"day": "
|
|
89
|
-
"month": "
|
|
90
|
-
"year": "2024",
|
|
91
|
-
"unix": "
|
|
92
|
-
"dst": false,
|
|
93
|
-
"dst_start": "2024-
|
|
94
|
-
"dst_end": "2024-
|
|
95
|
-
"dst_name": "-03"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"city": "San Francisco",
|
|
99
|
-
"city_ascii": "San Francisco",
|
|
100
|
-
"country": "United States of America",
|
|
101
|
-
"iso2": "US",
|
|
102
|
-
"iso3": "USA",
|
|
103
|
-
"province": "California",
|
|
104
|
-
"state_ansi": "CA",
|
|
105
|
-
"timezone": "America/Los_Angeles",
|
|
106
|
-
"time": "
|
|
107
|
-
"time24": "
|
|
108
|
-
"time12": "
|
|
109
|
-
"date": "2024-
|
|
110
|
-
"day": "
|
|
111
|
-
"month": "
|
|
112
|
-
"year": "2024",
|
|
113
|
-
"unix": "
|
|
114
|
-
"dst": true,
|
|
115
|
-
"dst_start": "2024-
|
|
116
|
-
"dst_end": "2024-
|
|
117
|
-
"dst_name": "PDT"
|
|
118
|
-
}
|
|
119
|
-
]
|
|
120
|
-
},
|
|
121
|
-
"code": 200
|
|
70
|
+
{
|
|
71
|
+
"status": "ok",
|
|
72
|
+
"error": null,
|
|
73
|
+
"data": {
|
|
74
|
+
"search": "San Francisco",
|
|
75
|
+
"foundCities": [
|
|
76
|
+
{
|
|
77
|
+
"city": "San Francisco",
|
|
78
|
+
"city_ascii": "San Francisco",
|
|
79
|
+
"country": "Argentina",
|
|
80
|
+
"iso2": "AR",
|
|
81
|
+
"iso3": "ARG",
|
|
82
|
+
"province": "Córdoba",
|
|
83
|
+
"timezone": "America/Argentina/Cordoba",
|
|
84
|
+
"time": "06:40",
|
|
85
|
+
"time24": "06:40:38",
|
|
86
|
+
"time12": "06:40:38 AM",
|
|
87
|
+
"date": "2024-09-01",
|
|
88
|
+
"day": "Sunday",
|
|
89
|
+
"month": "September",
|
|
90
|
+
"year": "2024",
|
|
91
|
+
"unix": "1725183638",
|
|
92
|
+
"dst": false,
|
|
93
|
+
"dst_start": "2024-09-01 06:40:38",
|
|
94
|
+
"dst_end": "2024-09-01 06:40:38",
|
|
95
|
+
"dst_name": "-03"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"city": "San Francisco",
|
|
99
|
+
"city_ascii": "San Francisco",
|
|
100
|
+
"country": "United States of America",
|
|
101
|
+
"iso2": "US",
|
|
102
|
+
"iso3": "USA",
|
|
103
|
+
"province": "California",
|
|
104
|
+
"state_ansi": "CA",
|
|
105
|
+
"timezone": "America/Los_Angeles",
|
|
106
|
+
"time": "02:40",
|
|
107
|
+
"time24": "02:40:38",
|
|
108
|
+
"time12": "02:40:38 AM",
|
|
109
|
+
"date": "2024-09-01",
|
|
110
|
+
"day": "Sunday",
|
|
111
|
+
"month": "September",
|
|
112
|
+
"year": "2024",
|
|
113
|
+
"unix": "1725183638",
|
|
114
|
+
"dst": true,
|
|
115
|
+
"dst_start": "2024-09-01 02:40:38",
|
|
116
|
+
"dst_end": "2024-09-01 02:40:38",
|
|
117
|
+
"dst_name": "PDT"
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"code": 200
|
|
122
122
|
}
|
|
123
123
|
```
|
|
124
124
|
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@apiverve/worldtime",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "World Time is a simple tool for getting the current time in any city. It returns the current time, date, and more.",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "mocha"
|
|
8
|
-
},
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/apiverve/worldtime-API.git"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"time","world time","current time","time zone","time zone api"
|
|
15
|
-
],
|
|
16
|
-
"author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"bugs": {
|
|
19
|
-
"url": "https://github.com/apiverve/worldtime-API/issues"
|
|
20
|
-
},
|
|
21
|
-
"homepage": "https://apiverve.com/marketplace/api/worldtime",
|
|
22
|
-
"devDependencies": {
|
|
23
|
-
"mocha": "^
|
|
24
|
-
"chai": "^5.1.
|
|
25
|
-
"dotenv": "^16.4.
|
|
26
|
-
},
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"node-fetch": "^3.3.2",
|
|
29
|
-
"promise": "^8.3.0",
|
|
30
|
-
"axios": "1.7.
|
|
31
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@apiverve/worldtime",
|
|
3
|
+
"version": "1.1.6",
|
|
4
|
+
"description": "World Time is a simple tool for getting the current time in any city. It returns the current time, date, and more.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "mocha"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/apiverve/worldtime-API.git"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"time","world time","current time","time zone","time zone api"
|
|
15
|
+
],
|
|
16
|
+
"author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/apiverve/worldtime-API/issues"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://apiverve.com/marketplace/api/worldtime?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
|
}
|