@@ -24,6 +24,7 @@ import {
2424 ReactToPost ,
2525 RemoveConnection ,
2626 RetrieveConnections ,
27+ RetrieveFeed ,
2728 RetrieveInvitations ,
2829 RetrievePendingRequests ,
2930 RetrievePerformance ,
@@ -126,6 +127,7 @@ class LinkedApi {
126127 this . reactToPost = new ReactToPost ( this . httpClient ) ;
127128 this . commentOnPost = new CommentOnPost ( this . httpClient ) ;
128129 this . createPost = new CreatePost ( this . httpClient ) ;
130+ this . retrieveFeed = new RetrieveFeed ( this . httpClient ) ;
129131 this . retrieveSSI = new RetrieveSSI ( this . httpClient ) ;
130132 this . retrievePerformance = new RetrievePerformance ( this . httpClient ) ;
131133 this . nvSendMessage = new NvSendMessage ( this . httpClient ) ;
@@ -163,6 +165,7 @@ class LinkedApi {
163165 this . reactToPost ,
164166 this . commentOnPost ,
165167 this . createPost ,
168+ this . retrieveFeed ,
166169 this . retrieveSSI ,
167170 this . retrievePerformance ,
168171 this . nvSendMessage ,
@@ -1421,6 +1424,26 @@ class LinkedApi {
14211424 */
14221425 public retrievePerformance : RetrievePerformance ;
14231426
1427+ /**
1428+ * Retrieve posts from the current account's personalized LinkedIn home feed.
1429+ *
1430+ * @param params - Optional maximum number of posts to retrieve (1-100, default 20)
1431+ * @returns Promise resolving to home-feed posts and their localized feed context
1432+ *
1433+ * @see {@link https://linkedapi.io/docs/action-st-retrieve-feed/ st.retrieveFeed Action Documentation }
1434+ *
1435+ * @example
1436+ * ```typescript
1437+ * const workflow = await linkedapi.retrieveFeed.execute({ limit: 20 });
1438+ * const result = await linkedapi.retrieveFeed.result(workflow.workflowId);
1439+ *
1440+ * for (const post of result.data ?? []) {
1441+ * console.log(post.url, post.feedContext);
1442+ * }
1443+ * ```
1444+ */
1445+ public readonly retrieveFeed : RetrieveFeed ;
1446+
14241447 /**
14251448 * Retrieve basic information about the LinkedIn account associated with the current API tokens.
14261449 *
0 commit comments