@serptech/api
Version:
Library for work with SERP API
31 lines (21 loc) • 417 B
Markdown
# Serp REST API Client TS/JS library
## Installation
### NPM
```bash
npm i --save @serp/rest-api
```
### Yarn
```bash
yarn add @serp/rest-api
```
## Usage
```js
// ES2015 module import:
import { createSerp } from "@serp/rest-api";
// CommonJS module require:
const { createSerp } = require("@serp/rest-api");
const Serp = createSerp({
version: 1,
token: SERP_TOKEN,
});
```