Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Is there an SDK I can use for the data insertion API?

Avatar

Avatar
Validate 1
Level 1
oliverf82757722
Level 1

Likes

0 likes

Total Posts

28 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
oliverf82757722
Level 1

Likes

0 likes

Total Posts

28 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Applaud 5
View profile
oliverf82757722
Level 1

08-10-2020

I've been given a CURL request that builds on this API... https://helpx.adobe.com/uk/analytics/kb/data-insertion-api-post-method-adobe-analytics.html.

And at the moment I am building this request manually in my project firefly action.

I was wondering if there's an SDK I can install using NPM that will provide some convenience methods around this instead of building the request manually?

Thanks

View Entire Topic

Avatar

Avatar
Boost 25
Employee
duypnguyen
Employee

Likes

35 likes

Total Posts

167 posts

Correct Reply

32 solutions
Top badges earned
Boost 25
Applaud 5
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Boost 25
Employee
duypnguyen
Employee

Likes

35 likes

Total Posts

167 posts

Correct Reply

32 solutions
Top badges earned
Boost 25
Applaud 5
Give Back 5
Give Back 3
Give Back 10
View profile
duypnguyen
Employee

08-10-2020

Hi @oliverf82757722 , the Firefly SDK for Adobe Analytics only supports the API 2.0.

Unfortunately the Data Insertion API is only available in API 1.4, not 2.0, according to: https://www.adobe.io/apis/experiencecloud/analytics/docs.html#!AdobeDocs/analytics-2.0-apis/master/m....

Hence, you would need to make the HTTP requests using `node-fetch`.