CData Python Connector for Adobe Commerce

Build 23.0.8839

接続の確立

コネクタ内で利用可能なオブジェクトは、"cdata.adobecommerce" モジュールからアクセスできます。モジュールのオブジェクトを直接使用するには:

  1. モジュールを以下のようにインポートします。
    import cdata.adobecommerce as mod
  2. 接続を確立するには、以下のような適切な接続文字列を使用してコネクタオブジェクトからconnect() メソッドを呼び出します。
    mod.connect("User=admin;Password=admin;Url=https://myadobecommercehost")

AdobeCommerce への接続

接続するには、URL を例えばhttp://yoursitename/magento2 に設定します。オプションで、接続先のストアのStoreCode を指定します(2つ以上存在する場合)。

Authenticating to AdobeCommerce

To authenticate to AdobeCommerce server versions, you can use either the Basic or the Token AuthScheme.

Basic

  • AuthScheme Set this to Basic.
  • User Set this to your user name in AdobeCommerce.
  • Password Set this to your password in AdobeCommerce.

Access Token

  • AuthScheme Set this to Token.
  • AccessToken Set this to your AccessToken in AdobeCommerce.

To generate the AccessToken, Log in to the AdobeCommerce Stores > Settings > Configuration > Services > OAuth > Access Token.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839