File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ import { getCredits } from "scrapegraph-sdk";
22import 'dotenv/config' ;
33
44try {
5- const apiKey = process . env . SGAI_APIKEY ;
5+ const apiKey = process . env . SGAI_APIKEY ;
66
7- const myCredit = await getCredits ( apiKey ) ;
7+ const myCredit = await getCredits ( apiKey ) ;
88
9- console . log ( myCredit )
9+ console . log ( myCredit )
1010} catch ( error ) {
11- console . error ( error )
11+ console . error ( error )
1212}
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ import { getSmartScraperRequest } from "scrapegraph-sdk";
22import 'dotenv/config' ;
33
44try {
5- const apiKey = process . env . SGAI_APIKEY ;
6- const requestId = " 3fa85f64-5717-4562-b3fc-2c963f66afa6"
5+ const apiKey = process . env . SGAI_APIKEY ;
6+ const requestId = ' 3fa85f64-5717-4562-b3fc-2c963f66afa6'
77
8- const requestInfo = await getSmartScraperRequest ( apiKey , requestId ) ;
8+ const requestInfo = await getSmartScraperRequest ( apiKey , requestId ) ;
99
10- console . log ( requestInfo ) ;
10+ console . log ( requestInfo ) ;
1111} catch ( error ) {
12- console . error ( error ) ;
12+ console . error ( error ) ;
1313}
You can’t perform that action at this time.
0 commit comments