You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 20, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+13-5Lines changed: 13 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,19 @@ pip install FuelSDK
18
18
19
19
### Configuring
20
20
21
-
After downloading the project, rename the `config.python.template` file to `config.python`.
22
-
23
-
Edit `config.python` so you can input the ClientID and Client Secret values provided when you registered your application. If you are building a HubExchange application for the Interactive Marketing Hub then, you must also provide the Application Signature (appsignature).
24
-
The defaultwsdl configuration must be [changed depending on the ExactTarget service](https://code.exacttarget.com/question/there-any-cetificrate-install-our-server-access-et-api"ExactTarget Forum").
25
-
The authenticationurl must also be [changed depending on service](https://code.exacttarget.com/question/not-able-create-accesstoken-when-clientidsecret-associated-preproduction-account"ExactTarget Forum").
21
+
There are two ways to configure your access tokens and details for the Fuel SDK.
22
+
23
+
1. Copy the included `config.python.template` file to `config.python` in either `~/.fuelsdk/` or within this python module.
24
+
2. Add environment variables:
25
+
*`FUELSDK_CLIENT_ID` (required)
26
+
*`FUELSDK_CLIENT_SECRET` (required)
27
+
*`FUELSDK_APP_SIGNATURE`
28
+
*`FUELSDK_DEFAULT_WSDL`
29
+
*`FUELSDK_AUTH_URL`
30
+
31
+
Edit `config.python` or declare environment variables so you can input the ClientID and Client Secret values provided when you registered your application. If you are building a HubExchange application for the Interactive Marketing Hub then, you must also provide the Application Signature (`appsignature` / `FUELSDK_APP_SIGNATURE`).
32
+
The `defaultwsdl` / `FUELSDK_DEFAULT_WSDL` configuration must be [changed depending on the ExactTarget service](https://code.exacttarget.com/question/there-any-cetificrate-install-our-server-access-et-api"ExactTarget Forum").
33
+
The `authenticationurl` / `FUELSDK_AUTH_URL` must also be [changed depending on service](https://code.exacttarget.com/question/not-able-create-accesstoken-when-clientidsecret-associated-preproduction-account"ExactTarget Forum").
26
34
27
35
If you have not registered your application or you need to lookup your Application Key or Application Signature values, please go to App Center at [Code@: ExactTarget's Developer Community](http://code.exacttarget.com/appcenter"Code@ App Center").
0 commit comments