Skip to main content

Plugin for SAP launchapd in for python requests

Project description

requests-sap

A plugin to support SAP launchpad authentication in Python Requests.

Usage

import requests

from requests_sap import SAPAuth

r = requests.get(
    "https://launchpad.support.sap.com/services/odata/svt/swdcuisrv/ObjectSet('0030000000103162022')",
    auth=SAPAuth(username='your_sap_username', password='your_sap_password'),
)

# Print the XML output of the Object ID:
print(r.text)

Release

To build the project run:

make dist

To upload the project to pypi

make upload

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

requests-sap-0.0.3.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

requests_sap-0.0.3-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page