Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a60854

Browse files
committed
mention the new API endpoint in the readme
1 parent 2256d6d commit 2a60854

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@ activity = {
9090
}
9191
user_feed_1.add_activity(activity)
9292

93+
# Retrieve an activity by its ID
94+
client.get_activities(ids=[activity_id])
95+
96+
# Retrieve an activity by the combination of foreign_id and time
97+
client.get_activities(foreign_id_time=[
98+
(foreign_id, activity_time),
99+
])
100+
93101
# Generating tokens for client side usage (JS client)
94102
token = user_feed_1.token
95103
# Javascript client side feed initialization

0 commit comments

Comments
 (0)