@apiverve/webscreenshots 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.
- package/README.md +19 -19
- package/package.json +31 -31
package/README.md
CHANGED
|
@@ -47,12 +47,12 @@ Using the API client, you can perform requests to the API.
|
|
|
47
47
|
###### Define Query
|
|
48
48
|
|
|
49
49
|
```
|
|
50
|
-
var query = {
|
|
51
|
-
"url": "https://ebay.com/",
|
|
52
|
-
"type": "png",
|
|
53
|
-
"width": 1024,
|
|
54
|
-
"height": 600,
|
|
55
|
-
"fullpage": false
|
|
50
|
+
var query = {
|
|
51
|
+
"url": "https://ebay.com/",
|
|
52
|
+
"type": "png",
|
|
53
|
+
"width": 1024,
|
|
54
|
+
"height": 600,
|
|
55
|
+
"fullpage": false
|
|
56
56
|
};
|
|
57
57
|
```
|
|
58
58
|
|
|
@@ -71,19 +71,19 @@ api.execute(query, function (error, data) {
|
|
|
71
71
|
###### Example Response
|
|
72
72
|
|
|
73
73
|
```
|
|
74
|
-
{
|
|
75
|
-
"status": "ok",
|
|
76
|
-
"error": null,
|
|
77
|
-
"data": {
|
|
78
|
-
"width": 1024,
|
|
79
|
-
"height": 600,
|
|
80
|
-
"scaleFactor": 1,
|
|
81
|
-
"imageName": "78bdb087-756b-4107-83e1-82fd40171ed1.png",
|
|
82
|
-
"expires": 1725356395837,
|
|
83
|
-
"url": "https://ebay.com/",
|
|
84
|
-
"downloadURL": "https://storage.googleapis.com/apiverve-helpers.appspot.com/webscreenshots/78bdb087-756b-4107-83e1-82fd40171ed1.png?GoogleAccessId=1089020767582-compute%40developer.gserviceaccount.com&Expires=1725356395&Signature=jqAuoBhrbsSqs61blsFdnXEU35QOanhFnL0FN2d82cDDTXAUWonuRURUjyyhmABe02dVD3sMpvQDh0V39ROFcukPFASdIhr4HdWnKl743JLx03jrW%2FJ2baK3lZCZemPkS%2F61VqcHV1YB5XsxqsDNNkQ8QL8xlzUslHUgjuVKsorDCpBL5iFPSLo0l5DO3wvZ6UudJJP11j1MAnRmWQC7%2FkUBc7AP4akQvm6N7lftFkx8z6%2FptdxBt60w1XR6Ixoy6Vl31tvd6UjyWhjmF8JbujRSRYXmh0vjTNZBp5BX7xUntQUSMXhQf%2Bj3bXq7ZcsfMAAtqonqbzC6SBZgzSu2kA%3D%3D"
|
|
85
|
-
},
|
|
86
|
-
"code": 200
|
|
74
|
+
{
|
|
75
|
+
"status": "ok",
|
|
76
|
+
"error": null,
|
|
77
|
+
"data": {
|
|
78
|
+
"width": 1024,
|
|
79
|
+
"height": 600,
|
|
80
|
+
"scaleFactor": 1,
|
|
81
|
+
"imageName": "78bdb087-756b-4107-83e1-82fd40171ed1.png",
|
|
82
|
+
"expires": 1725356395837,
|
|
83
|
+
"url": "https://ebay.com/",
|
|
84
|
+
"downloadURL": "https://storage.googleapis.com/apiverve-helpers.appspot.com/webscreenshots/78bdb087-756b-4107-83e1-82fd40171ed1.png?GoogleAccessId=1089020767582-compute%40developer.gserviceaccount.com&Expires=1725356395&Signature=jqAuoBhrbsSqs61blsFdnXEU35QOanhFnL0FN2d82cDDTXAUWonuRURUjyyhmABe02dVD3sMpvQDh0V39ROFcukPFASdIhr4HdWnKl743JLx03jrW%2FJ2baK3lZCZemPkS%2F61VqcHV1YB5XsxqsDNNkQ8QL8xlzUslHUgjuVKsorDCpBL5iFPSLo0l5DO3wvZ6UudJJP11j1MAnRmWQC7%2FkUBc7AP4akQvm6N7lftFkx8z6%2FptdxBt60w1XR6Ixoy6Vl31tvd6UjyWhjmF8JbujRSRYXmh0vjTNZBp5BX7xUntQUSMXhQf%2Bj3bXq7ZcsfMAAtqonqbzC6SBZgzSu2kA%3D%3D"
|
|
85
|
+
},
|
|
86
|
+
"code": 200
|
|
87
87
|
}
|
|
88
88
|
```
|
|
89
89
|
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@apiverve/webscreenshots",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Web Screenshots is a simple tool for capturing screenshots of web pages. It returns an image screenshot of the web page provided.",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "mocha"
|
|
8
|
-
},
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/apiverve/webscreenshots-API.git"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"web screenshots","web screenshots api","web screenshots tool","web screenshots software","web screenshots service"
|
|
15
|
-
],
|
|
16
|
-
"author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"bugs": {
|
|
19
|
-
"url": "https://github.com/apiverve/webscreenshots-API/issues"
|
|
20
|
-
},
|
|
21
|
-
"homepage": "https://apiverve.com/marketplace/api/webscreenshots?utm_source=npm",
|
|
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/webscreenshots",
|
|
3
|
+
"version": "1.1.7",
|
|
4
|
+
"description": "Web Screenshots is a simple tool for capturing screenshots of web pages. It returns an image screenshot of the web page provided.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "mocha"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/apiverve/webscreenshots-API.git"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"web screenshots","web screenshots api","web screenshots tool","web screenshots software","web screenshots service"
|
|
15
|
+
],
|
|
16
|
+
"author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/apiverve/webscreenshots-API/issues"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://apiverve.com/marketplace/api/webscreenshots?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
|
}
|