@apiverve/sunrisesunset 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 +20 -20
  2. package/package.json +31 -31
package/README.md CHANGED
@@ -50,7 +50,7 @@ Using the API client, you can perform requests to the API.
50
50
  var query = {
51
51
  lat: 36.7201600,
52
52
  lon: -4.4203400,
53
- date: "09-21-2024"
53
+ date: "02-03-2025"
54
54
  };
55
55
  ```
56
56
 
@@ -69,25 +69,25 @@ api.execute(query, function (error, data) {
69
69
  ###### Example Response
70
70
 
71
71
  ```
72
- {
73
- "status": "ok",
74
- "error": null,
75
- "data": {
76
- "solarNoon": "2024-09-01T12:19:07.959Z",
77
- "sunrise": "2024-09-01T05:50:23.51Z",
78
- "sunset": "2024-09-01T18:47:52.407Z",
79
- "sunriseEnd": "2024-09-01T05:53:05.874Z",
80
- "sunsetStart": "2024-09-01T18:45:10.043Z",
81
- "dawn": "2024-09-01T05:23:56.584Z",
82
- "dusk": "2024-09-01T19:14:19.333Z",
83
- "nauticalDawn": "2024-09-01T04:52:34.262Z",
84
- "nauticalDusk": "2024-09-01T19:45:41.655Z",
85
- "nightEnd": "2024-09-01T04:20:08.217Z",
86
- "night": "2024-09-01T20:18:07.7Z",
87
- "goldenHourEnd": "2024-09-01T06:24:51.482Z",
88
- "goldenHour": "2024-09-01T18:13:24.435Z"
89
- },
90
- "code": 200
72
+ {
73
+ "status": "ok",
74
+ "error": null,
75
+ "data": {
76
+ "solarNoon": "2024-09-01T12:19:07.959Z",
77
+ "sunrise": "2024-09-01T05:50:23.51Z",
78
+ "sunset": "2024-09-01T18:47:52.407Z",
79
+ "sunriseEnd": "2024-09-01T05:53:05.874Z",
80
+ "sunsetStart": "2024-09-01T18:45:10.043Z",
81
+ "dawn": "2024-09-01T05:23:56.584Z",
82
+ "dusk": "2024-09-01T19:14:19.333Z",
83
+ "nauticalDawn": "2024-09-01T04:52:34.262Z",
84
+ "nauticalDusk": "2024-09-01T19:45:41.655Z",
85
+ "nightEnd": "2024-09-01T04:20:08.217Z",
86
+ "night": "2024-09-01T20:18:07.7Z",
87
+ "goldenHourEnd": "2024-09-01T06:24:51.482Z",
88
+ "goldenHour": "2024-09-01T18:13:24.435Z"
89
+ },
90
+ "code": 200
91
91
  }
92
92
  ```
93
93
 
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "@apiverve/sunrisesunset",
3
- "version": "1.1.5",
4
- "description": "Sunrise Sunset is a simple tool for getting the sunrise and sunset times. It returns the sunrise and sunset times for a given location and date.",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "mocha"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/apiverve/sunrisesunset-API.git"
12
- },
13
- "keywords": [
14
- "sunrise sunset","sunrise sunset api","sunrise sunset tool","sunrise sunset software","sunrise sunset service"
15
- ],
16
- "author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
17
- "license": "MIT",
18
- "bugs": {
19
- "url": "https://github.com/apiverve/sunrisesunset-API/issues"
20
- },
21
- "homepage": "https://apiverve.com/marketplace/api/sunrisesunset?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/sunrisesunset",
3
+ "version": "1.1.7",
4
+ "description": "Sunrise Sunset is a simple tool for getting the sunrise and sunset times. It returns the sunrise and sunset times for a given location and date.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "mocha"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/apiverve/sunrisesunset-API.git"
12
+ },
13
+ "keywords": [
14
+ "sunrise sunset","sunrise sunset api","sunrise sunset tool","sunrise sunset software","sunrise sunset service"
15
+ ],
16
+ "author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
17
+ "license": "MIT",
18
+ "bugs": {
19
+ "url": "https://github.com/apiverve/sunrisesunset-API/issues"
20
+ },
21
+ "homepage": "https://apiverve.com/marketplace/api/sunrisesunset?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
  }