Infor Lawson IOS API Wrapper
Project description
This package exposes a Python API to connect to Infor Lawson IOS services.
The pylawson.client package contains Session objects for authenticating on the lawson server: sec_api.SecApiSession for Windows utilizes the sec-api.dll library which is installed with the Lawson Excel Add-Ins; and ms_samlpr.SamlSession which uses requests to robotically authenticate through the SAML login session.
Simple use:
First create a json file with connection details (each value is optional and can alternatively be passed directly to the session instantiation):
{"lawson":
{
"lawson_server": "https://target.resource/sso/SSOServlet",
"ident_server": "http://identity.provider/adfs",
"ident_host": "identity.provider",
"username": "username",
"password": "password"
}
}
Then write a couple of lines of code:
from pylawson.client import SamlSession as Ios
lawson = Ios(json_file='./pylawson.json')
response = lawson.tokens({'systemCode': 'GL'})
This authenticates on the server and returns Lawson’s XML response in a string with the result of a ListTokens action for the GL system.
NOTE: The IOS URL’s and parameters are documented in Infor’s ‘Doc for Developers: IOS Application Program Interfaces–Windows’ available on the Infor Xtreme support site.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pylawson-0.2.zip
.
File metadata
- Download URL: pylawson-0.2.zip
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed3293ecaa8773690ae42ee64127aa45496933d790bbe9d69225999ed85a581e |
|
MD5 | f7bf2ca41dd47fbc96a7e3d0bf98f404 |
|
BLAKE2b-256 | 2d4dd4c7e2712ea93c6531c7d6723c4e61d6b16dd81010673a240ec2e45852a2 |