process.env.PEERPOP_API_KEY).
Usage
API
peerpop.events.list(type, userId, apiKey)
| Parameter | Type | Description |
|---|---|---|
type | string | "upcoming" or "past" |
userId | string | The user ID whose events you want to list. |
apiKey | string | Your PeerPop API key. |
POST /v1/events/upcoming and POST /v1/events/past).