Skip to content

Add get_form_subscriptions() API functions #42

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

Merged
merged 1 commit into from
Mar 10, 2023

Conversation

n7studios
Copy link
Contributor

Summary

Adds the get_form_subscriptions() API functions, to call https://developers.convertkit.com/#list-subscriptions-to-a-form.

Testing

  • testGetFormSubscriptions: Tests that fetching subscribers for a valid ConvertKit Form ID works.
  • testGetFormSubscriptionsWithDescSortOrder: Tests that fetching subscribers for a valid ConvertKit Form ID works with a valid sort order.
  • testGetFormSubscriptionsWithCancelledSubscriberState: Tests that fetching cancelled subscribers for a valid ConvertKit Form ID works.
  • testGetFormSubscriptionsWithPage: Tests that fetching subscribers for a valid ConvertKit Form ID works with pagination.
  • testGetFormSubscriptionsWithInvalidFormID: Tests that a ClientException is thrown when an invalid ConvertKit Form ID is specified

Checklist

@n7studios n7studios changed the base branch from master to 1.0-beta March 9, 2023 17:03
@n7studios n7studios self-assigned this Mar 9, 2023
@n7studios n7studios added this to the 1.0.0 milestone Mar 9, 2023
@n7studios n7studios requested review from a team, noelherrick and jenessawhite and removed request for a team March 9, 2023 17:04
@n7studios n7studios marked this pull request as ready for review March 9, 2023 17:04
@n7studios n7studios merged commit 85e0d53 into 1.0-beta Mar 10, 2023
@n7studios n7studios deleted the get-form-subscriptions branch March 23, 2023 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants