Adobe IO Helping Utility
Project description
DWAO Adobe IO Library
Library for basic Adobe IO Integrations.
Examples
import requests
from dwaoAdobeIO import AdobeAuth
JWT_PAYLOAD = {"exp":1619849370,"iss":"D7A63A725B02CDC70A495C49@AdobeOrg","sub":"C52B3AA8607583300A495FE3@techacct.adobe.com","https://ims-na1.adobelogin.com/s/ent_audiencemanagerplatform_sdk":True,"aud":"https://ims-na1.adobelogin.com/c/50f750a65e75406392b4c1c2da9492ee"}
PRIVATE_KEY_PATH = "../Credentials/private.key"
CLIENT_SECRET = "fafda214-f54d-44fe-94e2-30da167e126a"
AAMdcs = AdobeAuth.AAM(JWT_PAYLOAD=JWT_PAYLOAD,PRIVATE_KEY_PATH=PRIVATE_KEY_PATH,CLIENT_SECRET=CLIENT_SECRET)
jwt_token =AAMdcs.generate_jwt()
access_token = AAMdcs.generate_access_token()
print(AAMdcs.get_segments().text)
Methods Available for AAM REST APIs
get_datasource(param)
get_traits(param)
create_trait(data)
get_segments(param)
create_segment(data)
update_segment(data,segmentId)
get_segment_folders(param)
get_trait_folders(param)
get_destinations(param)
get_destination_mappings(param,destinationId)
set_destination_mappings(data,destinationId)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dwaoAdobeIO-0.1.3.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file dwaoAdobeIO-0.1.3.tar.gz
.
File metadata
- Download URL: dwaoAdobeIO-0.1.3.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 542f55d380ffe0ecbd2e34f3bc0a6e0c74534c2fa55d0a1f5b900c61133fba9b |
|
MD5 | 9e6a19d97850376afa1d69d75edefda0 |
|
BLAKE2b-256 | 6e6b0254c3f41d3e74bf79c48e6230beec55a4708a79d127b0917ee7f3201dd5 |
File details
Details for the file dwaoAdobeIO-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: dwaoAdobeIO-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fd60492a5dfd2e01b703b3d8e6dcfe633b5a09942f9f6102cc3000d6c0ab681 |
|
MD5 | e24c2f298992a331181aed5bac4b5f7b |
|
BLAKE2b-256 | 2cf650d47867ad395f26847c5958e3ca0e1ca0bdc3fbfbb753df5b34548e2bb7 |