# pollstar-api

> Pollstar API Wrapper

Latest version **1.0.0** (published 2019-01-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install pollstar-api
pnpm add pollstar-api
yarn add pollstar-api
bun add pollstar-api
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-01-08 |
| First published | 2019-01-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 13 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Fase Charmer |
| Maintainers | cgfamer4 |
| Keywords | pollstar |

## Links

- npm: https://www.npmjs.com/package/pollstar-api
- Repository: https://github.com/SparkerGlobal/pollstar-api
- Homepage: https://github.com/SparkerGlobal/pollstar-api#readme
- Issues: https://github.com/SparkerGlobal/pollstar-api/issues
- npm.io page: https://npm.io/package/pollstar-api

## Dependencies (4)

- [boom](https://npm.io/package/boom.md) 7.3.0
- [wreck](https://npm.io/package/wreck.md) 14.1.3
- [require-dir](https://npm.io/package/require-dir.md) 1.2.0
- [simple-oauth2](https://npm.io/package/simple-oauth2.md) 2.2.1

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-01-08

## README

# pollstar-api

Pollstar API Node.js wrapper using Wreck for HTTP requests.

https://blog.pollstar.com/api/

# npm

`npm i pollstar-api`

# Example Usage

    let ps = new POLLSTAR_API(API_KEY, API_SECRET);

    await ps.routes.artistSearch("a", { page: 0, pageSize: 30 });

    await ps.routes.artistDetail("13157");

    await ps.routes.artistRoutebook("25061", { toDate: '02/20/2019', fromDate: '02/01/2019', page: 0, pageSize: 20 });

    await ps.routes.cityRoutebook("40643", { toDate: '02/20/2019', fromDate: '02/01/2019', page: 0, pageSize: 20 });

    await ps.routes.citySearch("new orleans", { page: 1, pageSize: 30 });

    await ps.routes.cityVenues("40643", { radius: 20, page: 1, pageSize: 30 });

    await ps.routes.upcomingEventInfo("7502158");

    await ps.routes.venueRoutebook("269161", { toDate: '02/20/2019', fromDate: '02/01/2019', page: 0, pageSize: 20 });
    
    await ps.routes.venueSearch("ti", { page: 2, pageSize: 30 });

---
_Source: https://npm.io/package/pollstar-api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
