![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@input-output-hk/mailchimp-subscribe
Advanced tools
Lightweight mailchimp subscriber library supporting custom fields
A lightweight [Mailchimp](https://mailchimp.com/) subscriber library supporting custom fields. Subscribe emails to your mailing lists.
npm install --save @input-output-hk/mailchimp-subscribe
or
yarn add @input-output-hk/mailchimp-subscribe
import subscribe from '@input-output-hk/mailchimp-subscribe'
async function submitForm (email) {
try {
const result = await subscribe({
email,
uID: 'XXXXXXXXX',
audienceID: 'XXXXXXXXX',
listName: 'XXXXXX.XXXX'
})
// Instance of MailChimpSuccess
// result.message is the msg value received from Mailchimp
return result
} catch (error) {
// handle error
// error is instance of MailChimpError when error originates from mailchimp
// error.message is the message returned from Mailchimp if the error originated on mailchimp
return error
}
}
import subscribe from '@input-output-hk/mailchimp-subscribe'
async function submitForm (email) {
try {
await subscribe({
email,
uID: 'XXXXXXXXX',
audienceID: 'XXXXXXXXX',
listName: 'XXXXXX.XXXX',
customFields: {
MY_FIELD: 'value',
MY_SECOND_FIELD: 'value_2'
}
})
// Instance of MailChimpSuccess
// result.message is the msg value received from Mailchimp
return result
} catch (error) {
// handle error
// error is instance of MailChimpError when error originates from mailchimp
// error.message is the message returned from Mailchimp if the error originated on mailchimp
return error
}
}
import subscribe from '@input-output-hk/mailchimp-subscribe'
async function submitForm (email) {
try {
await subscribe({
email,
uID: 'XXXXXXXXX',
audienceID: 'XXXXXXXXX',
listName: 'XXXXXX.XXXX',
// 6000ms
timeout: 6000
})
// Instance of MailChimpSuccess
// result.message is the msg value received from Mailchimp
return result
} catch (error) {
// handle error
// error is instance of MailChimpError when error originates from mailchimp
// error.message is the message returned from Mailchimp if the error originated on mailchimp
return error
}
}
Contributions are welcome, see contributing for more info.
FAQs
Lightweight mailchimp subscriber library supporting custom fields
The npm package @input-output-hk/mailchimp-subscribe receives a total of 2 weekly downloads. As such, @input-output-hk/mailchimp-subscribe popularity was classified as not popular.
We found that @input-output-hk/mailchimp-subscribe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.