@apiverve/moonposition 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 +18 -16
  2. package/package.json +31 -31
package/README.md CHANGED
@@ -49,7 +49,8 @@ Using the API client, you can perform requests to the API.
49
49
  ```
50
50
  var query = {
51
51
  lat: 37.7749,
52
- lon: -122.4194
52
+ lon: -122.4194,
53
+ date: "02-03-2025"
53
54
  };
54
55
  ```
55
56
 
@@ -68,21 +69,22 @@ api.execute(query, function (error, data) {
68
69
  ###### Example Response
69
70
 
70
71
  ```
71
- {
72
- "status": "ok",
73
- "error": null,
74
- "data": {
75
- "coordinates": {
76
- "latitude": 37.7749,
77
- "longitude": -122.4194
78
- },
79
- "moon": {
80
- "altitude": -0.42215977917143888,
81
- "azimuth": -2.4851302890488944,
82
- "distance": 398210.59412740468
83
- }
84
- },
85
- "code": 200
72
+ {
73
+ "status": "ok",
74
+ "error": null,
75
+ "data": {
76
+ "date": "09-28-2024",
77
+ "coordinates": {
78
+ "latitude": 37.7749,
79
+ "longitude": -122.4194
80
+ },
81
+ "moon": {
82
+ "altitude": 0.0024147121692304546,
83
+ "azimuth": 2.0540021684892915,
84
+ "distance": 394417.5547536741
85
+ }
86
+ },
87
+ "code": 200
86
88
  }
87
89
  ```
88
90
 
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "@apiverve/moonposition",
3
- "version": "1.1.5",
4
- "description": "Moon Position is a simple tool for getting moon position data. It returns data such as altitude, azimuth, and distance of the moon based on the location provided.",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "mocha"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/apiverve/moonposition-API.git"
12
- },
13
- "keywords": [
14
- "moon position","moon position api","moon position tool","moon position software","moon position service"
15
- ],
16
- "author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
17
- "license": "MIT",
18
- "bugs": {
19
- "url": "https://github.com/apiverve/moonposition-API/issues"
20
- },
21
- "homepage": "https://apiverve.com/marketplace/api/moonposition?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/moonposition",
3
+ "version": "1.1.7",
4
+ "description": "Moon Position is a simple tool for getting moon position data. It returns data such as altitude, azimuth, and distance of the moon based on the location provided.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "mocha"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/apiverve/moonposition-API.git"
12
+ },
13
+ "keywords": [
14
+ "moon position","moon position api","moon position tool","moon position software","moon position service"
15
+ ],
16
+ "author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
17
+ "license": "MIT",
18
+ "bugs": {
19
+ "url": "https://github.com/apiverve/moonposition-API/issues"
20
+ },
21
+ "homepage": "https://apiverve.com/marketplace/api/moonposition?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
  }