https://github.com/dalbodeule/google-parser
https://github.com/dalbodeule/google-parser
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dalbodeule/google-parser
- Owner: dalbodeule
- License: mit
- Created: 2018-10-13T16:10:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T02:41:01.000Z (about 3 years ago)
- Last Synced: 2025-09-24T19:57:49.642Z (5 months ago)
- Language: TypeScript
- Size: 77.1 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.ko.MD
- License: LICENSE
Awesome Lists containing this project
README
# google-parser
[](https://badge.fury.io/js/google-parser)
[](https://nodei.co/npm/google-parser/)
역할: Google 검색결과를 반환합니다.
## 라이선스
MIT
## 모듈 로드
javascript
```javascript
let google = require('google-parser');
```
typescript
```typescript
import * as google from 'google-parser'
```
## 작동방식
본 모듈은 Promise 및 async/await만 지원합니다.
## 함수목록
```typescript
google.img(search: string): Promise
google.jpg(search: string): Promise
google.google(search: string): Promise
```
## 타입
```typescript
interface IImg {
img: string,
url: string,
name: string
}
interface ISearch {
title: string,
url: string,
description: string
}
interface ISearchError {
error: true,
reson: "antibot"
}
```
## 반환
반환은 object로 처리됩니다. 위의 type을 참조하시기 바랍니다.
## 제작자
달보드레(dalbodeule)[npmjs](https://www.npmjs.com/~trusty_people) [github](https://github.com/dalbodeule)