File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 3
3
<h1 align =" center " >TrackPurchase</h1 >
4
4
</p >
5
5
6
- [ ![ NPM version] ( https://badgen.net/npm/v/trackpurchase )] ( https://www.npmjs.com/package/trackpurchase )
6
+ [ ![ NPM version] ( https://badgen.net/npm/v/trackpurchase )] ( https://www.npmjs.com/package/trackpurchase ) [ ![ codecov ] ( https://codecov.io/gh/code-yeongyu/TrackPurchase/branch/master/graph/badge.svg?token=UCZC198HMK )] ( https://codecov.io/gh/code-yeongyu/TrackPurchase ) [ ![ CI ] ( https://github.com/code-yeongyu/TrackPurchase/actions/workflows/ci.yml/badge.svg )] ( https://github.com/code-yeongyu/TrackPurchase/actions/workflows/ci.yml )
7
7
8
8
> 단 몇줄만의 코드로 다양한 쇼핑 플랫폼에서 결제 내역을 긁어오자!
9
9
@@ -24,14 +24,14 @@ yarn add trackpurchase
24
24
### 네이버 페이
25
25
26
26
``` typescript
27
- import { NaverApp } from " trackpurchase"
28
- const browser = await puppeteer .launch ()
29
- const page = await browser .newPage ()
27
+ import { NaverApp } from " trackpurchase" ;
28
+ const browser = await puppeteer .launch ();
29
+ const page = await browser .newPage ();
30
30
31
- const module = NaverApp .ModuleFactory .create (page )
32
- const crawlService = new NaverApp .Service (module )
31
+ const module = NaverApp .ModuleFactory .create (page );
32
+ const crawlService = new NaverApp .Service (module );
33
33
34
- await crawlService .login (id , password )
35
- const history = await crawlService .getHistory ()
36
- console .log (history )
34
+ await crawlService .login (id , password );
35
+ const history = await crawlService .getHistory ();
36
+ console .log (history );
37
37
```
You can’t perform that action at this time.
0 commit comments