UNPKG

@elasticemail/elasticemail-client-ts-axios

Version:

Official ElasticEmail SDK. This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach.

27 lines (19 loc) 698 B
# TypeScript Axios Snippets ## Installation Run in your project `npm install @elasticemail/elasticemail-client-ts-axios` or download from GitHub repository https://github.com/ElasticEmail/elasticemail-ts-axios ### Requirements https://github.com/ElasticEmail/elasticemail-ts-axios/blob/master/README.md ## Prepare test enviroment in this repo Enter this catalog and run `npm install` ## Prepare a snippet Edit snippet and put your api key in place of `YOUR_API_KEY` Replace other data if needed eg.: - your validated email address, - your email address to receive example email. - template name - campaign name - ...etc ## Running a snippet Run `cd functions` `npx ts-node snippetFile.ts`