Skip to content

datapip/emarsys-authenticator-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emarsysauthenticator

Python helper to easily create X-WSSE header for Authentication with Emarsys RESTful API

Usage

import emarsysauthenticator as ea

# For authentication with Emarsys RESTful API the user name and secret is needed
user_name = 'account_name001'
user_secret = 'abc123def456'

# Create X_WSSE header
xwsse_header = ea.create_xwsse_header(user_name, user_secret)

# Make request
response = requests.request('GET', 'https://api.emarsys.net/api/v2/email', headers=xwsse_header)

Contribution

I am thankful for any feedback and improvements.

License

This project is licensed under MIT License - see the LICENSE.md file for details

About

Python helper to easily create X-WSSE header for Authentication with Emarsys RESTful API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages