# 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`