Skip to main content

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

Metadata

Release files for emarsysauthenticator 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for emarsysauthenticator 0.0.1
File Size Uploaded
emarsysauthenticator-0.0.1.tar.gz 2.4 kB Details

Release files / emarsysauthenticator-0.0.1.tar.gz

Download URL emarsysauthenticator-0.0.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
213a895f040de907bbc887560c1637546da98b0f3ce9a5009ebec08632c7a32d
BLAKE2b-256 checksum
How to use checksums
c2f606e453064ded7e6ea6eda0d0031ee225470cdb10cebcb1d135ae0a3772ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page