@apiverve/websitetopdf 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 +22 -22
- package/package.json +31 -31
package/README.md
CHANGED
|
@@ -47,13 +47,13 @@ Using the API client, you can perform requests to the API.
|
|
|
47
47
|
###### Define Query
|
|
48
48
|
|
|
49
49
|
```
|
|
50
|
-
var query = {
|
|
51
|
-
"marginTop": 0.4,
|
|
52
|
-
"marginBottom": 0.4,
|
|
53
|
-
"marginLeft": 0.4,
|
|
54
|
-
"marginRight": 0.4,
|
|
55
|
-
"landscape": false,
|
|
56
|
-
"url": "https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts"
|
|
50
|
+
var query = {
|
|
51
|
+
"marginTop": 0.4,
|
|
52
|
+
"marginBottom": 0.4,
|
|
53
|
+
"marginLeft": 0.4,
|
|
54
|
+
"marginRight": 0.4,
|
|
55
|
+
"landscape": false,
|
|
56
|
+
"url": "https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts"
|
|
57
57
|
};
|
|
58
58
|
```
|
|
59
59
|
|
|
@@ -72,21 +72,21 @@ api.execute(query, function (error, data) {
|
|
|
72
72
|
###### Example Response
|
|
73
73
|
|
|
74
74
|
```
|
|
75
|
-
{
|
|
76
|
-
"status": "ok",
|
|
77
|
-
"error": null,
|
|
78
|
-
"data": {
|
|
79
|
-
"marginLeft": "0.4in",
|
|
80
|
-
"marginRight": "0.4in",
|
|
81
|
-
"marginTop": "0.4in",
|
|
82
|
-
"marginBottom": "0.4in",
|
|
83
|
-
"landscape": false,
|
|
84
|
-
"pdfName": "
|
|
85
|
-
"expires":
|
|
86
|
-
"url": "https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts",
|
|
87
|
-
"downloadURL": "https://storage.googleapis.com/apiverve.appspot.com/websitetopdf/
|
|
88
|
-
},
|
|
89
|
-
"code": 200
|
|
75
|
+
{
|
|
76
|
+
"status": "ok",
|
|
77
|
+
"error": null,
|
|
78
|
+
"data": {
|
|
79
|
+
"marginLeft": "0.4in",
|
|
80
|
+
"marginRight": "0.4in",
|
|
81
|
+
"marginTop": "0.4in",
|
|
82
|
+
"marginBottom": "0.4in",
|
|
83
|
+
"landscape": false,
|
|
84
|
+
"pdfName": "0b69c0df-5c25-4144-9294-336097221f63.pdf",
|
|
85
|
+
"expires": 1725356417742,
|
|
86
|
+
"url": "https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts",
|
|
87
|
+
"downloadURL": "https://storage.googleapis.com/apiverve-helpers.appspot.com/websitetopdf/0b69c0df-5c25-4144-9294-336097221f63.pdf?GoogleAccessId=1089020767582-compute%40developer.gserviceaccount.com&Expires=1725356417&Signature=BCTQNzcQ75OKe2OtBB3lk1ONj%2B4fv07c6uuTCS3OFW2cvJsMe6nsHY%2FC5XNQzHjHEc5O5UuQ86euB52jm%2FX6VF0JUg04LlDmkQcF%2BQTrb9tvYORFv3r9%2BMk4uiZSvt8v7%2FifuMAyJcI0jll4Ot7zpCdRejHltJrVHaxYYqYMHq8ClcBhmpcddWuFSAfY5WENGJ%2FPCv9W%2F1LLYKOJu0YOZtOsHuRRs8Q7DZ1Pnk3EajZbhJKwtgpJ%2F7A1b%2F5guOHDJ2DLKN21BMocPZCCBIBOn%2BlEanbx6JBOT%2FE6IzbHlfsVwIoPIFA1osyJVxjskjsmM%2B7LBogJlUP41OA%2BGd25SA%3D%3D"
|
|
88
|
+
},
|
|
89
|
+
"code": 200
|
|
90
90
|
}
|
|
91
91
|
```
|
|
92
92
|
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@apiverve/websitetopdf",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Website to PDF is a simple tool for converting a website to PDF. It returns the PDF file generated from the website.",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "mocha"
|
|
8
|
-
},
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/apiverve/websitetopdf-API.git"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"website to pdf","website to pdf api","website to pdf tool","website to pdf software","website to pdf service"
|
|
15
|
-
],
|
|
16
|
-
"author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"bugs": {
|
|
19
|
-
"url": "https://github.com/apiverve/websitetopdf-API/issues"
|
|
20
|
-
},
|
|
21
|
-
"homepage": "https://apiverve.com/marketplace/api/websitetopdf",
|
|
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/websitetopdf",
|
|
3
|
+
"version": "1.1.6",
|
|
4
|
+
"description": "Website to PDF is a simple tool for converting a website to PDF. It returns the PDF file generated from the website.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "mocha"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/apiverve/websitetopdf-API.git"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"website to pdf","website to pdf api","website to pdf tool","website to pdf software","website to pdf service"
|
|
15
|
+
],
|
|
16
|
+
"author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/apiverve/websitetopdf-API/issues"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://apiverve.com/marketplace/api/websitetopdf?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
|
}
|