Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for /redeem-requests endpoint #33

Open
rlajous opened this issue Jun 27, 2023 · 0 comments
Open

Add support for /redeem-requests endpoint #33

rlajous opened this issue Jun 27, 2023 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@rlajous
Copy link
Member

rlajous commented Jun 27, 2023

Description

The POAP API offers a /redeem-requests endpoint that is currently not supported in the POAP.js library. This endpoint is used to request more codes for one of the following redeem methods: QR Code, Secret Website, or Secret Word.

Expected Behavior

A new method should be added to the library to allow users to interact with the /redeem-requests endpoint. This would involve sending a POST request to the endpoint and handling the response.

Current Behavior

Currently, the library does not provide support for interacting with the /redeem-requests endpoint of the POAP API.

Possible Solution

A new method could be added to the library which takes the necessary parameters for a request to the /redeem-requests endpoint, sends the POST request, and handles the response.

Context

This feature would be useful for users who wish to request more codes for one of the redeem methods supported by the POAP API.

@rlajous rlajous added good first issue Good for newcomers help wanted Extra attention is needed labels Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant