Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/code-yeongyu/trackpurchase
단 몇줄의 코드로 다양한 쇼핑 플랫폼에서 결제 내역을 긁어오자!
https://github.com/code-yeongyu/trackpurchase
crawlwer puppeteer webcrawler webscraper webscraping
Last synced: 3 months ago
JSON representation
단 몇줄의 코드로 다양한 쇼핑 플랫폼에서 결제 내역을 긁어오자!
- Host: GitHub
- URL: https://github.com/code-yeongyu/trackpurchase
- Owner: code-yeongyu
- License: mit
- Created: 2021-12-05T14:51:27.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-10T10:34:28.000Z (almost 3 years ago)
- Last Synced: 2024-03-24T13:20:32.654Z (9 months ago)
- Topics: crawlwer, puppeteer, webcrawler, webscraper, webscraping
- Language: TypeScript
- Homepage:
- Size: 619 KB
- Stars: 21
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
TrackPurchase
> 단 몇줄의 코드로 다양한 쇼핑 플랫폼에서 결제 내역을 긁어오자!
## 🛒 지원 플랫폼 목록
- 지원 플랫폼은 계속해서 추가될 예정입니다.
[![Naver Pay](https://developer.pay.naver.com/static/img/logo_black.png)](https://pay.naver.com)
## 📦 설치
```sh
yarn add trackpurchase
```## 🚀 사용
### 네이버 페이
```typescript
import { NaverApp } from "trackpurchase";
const browser = await puppeteer.launch();
const page = await browser.newPage();const module = NaverApp.NaverModuleFactory.create(page);
const crawlService = new NaverApp.NaverService(module);await crawlService.normalLogin(id, password, 100);
const history = await crawlService.getHistory();
browser.close();console.log(history);
```