# guestlist-js

> Guestlist.io JavaScript SDK

Latest version **1.0.0** (published 2016-05-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install guestlist-js
pnpm add guestlist-js
yarn add guestlist-js
bun add guestlist-js
```

## 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 | 2016-05-13 |
| First published | 2016-05-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | will123195 |
| Maintainers | will123195 |
| Keywords | guestlist, rsvp, tickets, willcall |

## Links

- npm: https://www.npmjs.com/package/guestlist-js
- Repository: https://github.com/guestlistio/guestlist-js
- Homepage: https://github.com/guestlistio/guestlist-js#readme
- Issues: https://github.com/guestlistio/guestlist-js/issues
- npm.io page: https://npm.io/package/guestlist-js

## Dependencies (3)

- [xhr](https://npm.io/package/xhr.md) ^2.2.0
- [xhr2](https://npm.io/package/xhr2.md) ^0.1.3
- [xtend](https://npm.io/package/xtend.md) ^4.0.1

## Recent versions

- 1.0.0 (latest) — 2016-05-13

## README

# guestlist-js

### Guestlist.io JavaScript SDK

Browser and Node.js compatible.

Full API documentation here: https://api.guestlist.io/doc

[![Build Status](https://travis-ci.org/guestlistio/guestlist-js.svg?branch=master)](https://travis-ci.org/guestlistio/guestlist-js)

### Install

```
npm install guestlist-js
```

### Usage

```js
var client = require('guestlist-js')()

client.setAccessToken(myAccessToken)

client.getEvents({
  limit: 10
}, function (err, events) {
  !err && console.log(err)
  console.log(events)
})
```

### Documentation

#### Users

- `authenticate(opts, cb)`
- `getUser(opts, cb)`
- `me(cb)`
- `registerUser(data, cb)`

#### Accounts

- `createAccount(data, cb)`
- `getAccount(accountId, cb)`
- `getAccounts(opts, cb)`
- `getMyAccounts(opts, cb)`
- `inviteEmail(opts, cb)`
- `modifyAccount(accountId, data, cb)`

#### Events

- `createEvent(data, cb)`
- `createChildEvent(parentEventId, data, cb)`
- `getEvent(eventId, cb)`
- `getEvents(opts, cb)`
- `modifyEvent(eventId, data, cb)`

#### Orders & RSVPs

- `getOrder(orderId, cb)`
- `getOrders(opts, cb)`
- `modifyOrder(orderId, data, cb)`
- `submitOrder(data, cb)`
- `submitPayment(orderId, data, cb)`

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