Salesforce ExactTarget FuelSDK Extensions

Extensions for com.exacttarget.fuelsdk (c) 2016 Sport Trades Ltd

Лицензия

Лицензия

Группа

Группа

com.buabook
Идентификатор

Идентификатор

sf-et-fuel-sdk
Последняя версия

Последняя версия

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Salesforce ExactTarget FuelSDK Extensions
Extensions for com.exacttarget.fuelsdk (c) 2016 Sport Trades Ltd
Ссылка на сайт

Ссылка на сайт

http://buabook.github.io
Система контроля версий

Система контроля версий

https://github.com/BuaBook/sf-et-fuel-sdk.git

Скачать sf-et-fuel-sdk

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.buabook/sf-et-fuel-sdk/ -->
<dependency>
    <groupId>com.buabook</groupId>
    <artifactId>sf-et-fuel-sdk</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.buabook/sf-et-fuel-sdk/
implementation 'com.buabook:sf-et-fuel-sdk:1.0.1'
// https://jarcasting.com/artifacts/com.buabook/sf-et-fuel-sdk/
implementation ("com.buabook:sf-et-fuel-sdk:1.0.1")
'com.buabook:sf-et-fuel-sdk:jar:1.0.1'
<dependency org="com.buabook" name="sf-et-fuel-sdk" rev="1.0.1">
  <artifact name="sf-et-fuel-sdk" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.buabook', module='sf-et-fuel-sdk', version='1.0.1')
)
libraryDependencies += "com.buabook" % "sf-et-fuel-sdk" % "1.0.1"
[com.buabook/sf-et-fuel-sdk "1.0.1"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
com.exacttarget : fuelsdk jar 1.1.0
joda-time : joda-time jar 2.9.6

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.mockito : mockito-all jar 1.10.19
org.hamcrest : java-hamcrest jar 2.0.0.0

Модули Проекта

Данный проект не имеет модулей.

Extensions / Helpers for Java FuelSDK

This repository has some classes that we've found useful when developing against the ExactTarget API.

You can download the library here. JavaDoc can be found on BuaBook.github.io.

To-do:

  • Release to Maven Central

Included Classes

AutoRefreshETClient

We've found that the default ETClient class does not support refreshing of the OAuth refresh token. This token is defined by the OAuth standard to expire after 14 days after which point all API requests will fail.

This class extends ETClient and provides automatic refreshing of the refresh token after a duration which can be configured by the caller (there is a default of refreshing every 24 hours if none is provided). The rest of the class behaves identically to ETClient.

Use the static method AutoRefreshETClient.newRefreshClient to get a new object.

ExactTargetInterface

This class provides some interface methods to retrieving / sending data via the ExactTarget API.

Available methods:

  • getDataExtension: Retrieves a data extension by using the name as appears on the ExactTarget web UI
com.buabook

BuaBook

Версии библиотеки

Версия
1.0.1
1.0.0