File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- # node -do
1+ # @ scrape -do/client
22
33#### Scrape.do's official http client for node.js
44
55## How to install?
66
77``` shell
8- npm install @scrape-do/do
8+ npm install @scrape-do/client
99# or get it from github
10- npm install git://git@github.com/scrape-do/node-do
10+ npm install git://git@github.com/scrape-do/node-client
1111```
1212
1313## How to build from scratch
1414
1515#### If you want to contribute to the library or include your own customisations, you can recompile the library in this way.
1616
1717``` shell
18- git clone https://github.com/scrape-do/node-do
18+ git clone https://github.com/scrape-do/node-client
1919npm i
2020# build with
2121npm build
@@ -27,10 +27,10 @@ npm build
2727
2828``` typescript
2929const client = new ScrapeDo (" example_token" );
30- const response = await client .doRequest (" GET" , {
30+ const response = await client .sendRequest (" GET" , {
3131 url: " https://httpbin.co/anything" ,
3232 extraHeaders: {
33- " sd- A123" : " Extra Header" ,
33+ A123: " Extra Header" ,
3434 },
3535});
3636
@@ -39,9 +39,9 @@ console.log(response.data);
3939
4040## More details
4141
42- #### [ Documentation for more information] ( https://scrape.do/documentation/?utm_source=github&utm_medium=node-do )
42+ #### [ Documentation for more information] ( https://scrape.do/documentation/?utm_source=github&utm_medium=node-client )
4343
44- #### [ Scrape.do] ( https://scrape.do?utm_source=github&utm_medium=node-do )
44+ #### [ Scrape.do] ( https://scrape.do?utm_source=github&utm_medium=node-client )
4545
4646## License
4747
You can’t perform that action at this time.
0 commit comments