@poap-xyz/drops
@poap-xyz/drops
is a package to interact with POAP Drops.
Features
- Create a Drop
- Update a Drop attributes
- Fetch a single Drop
- Fetch multiple Drops
- Search Drops
Installation
NPM
npm install @poap-xyz/drops @poap-xyz/utils @poap-xyz/providers axios
Yarn
yarn add @poap-xyz/drops @poap-xyz/utils @poap-xyz/providers axios
Usage
import { DropsClient } from '@poap-xyz/drops';
import { PoapCompass, PoapDropApi } from '@poap-xyz/providers';
const client = new DropsClient(
new PoapCompass('YOUR_COMPASS_API_KEY'),
new PoapDropApi('YOUR_POAP_API_KEY'),
);
Documentation
For more detailed documentation, please visit this link (opens in a new tab).
Examples
For example scripts and usage, please check the examples (opens in a new tab).
Contributing
We welcome contributions! Please see the CONTRIBUTING.md
file for guidelines.
License
@poap-xyz/drops
is released under the MIT License (opens in a new tab).