I am looking for a function to tell me when a user's activity started.
I have tried the created_at function of the Spotify import but it only gives the time when the current song started. I am looking for something that tells me when the activity started.
There is a timestamps
field on an Activity:
A dictionary of timestamps. It contains the following optional keys:
- start: Corresponds to when the user started doing the activity in milliseconds since Unix epoch.
- end: Corresponds to when the user will finish doing the activity in milliseconds since Unix epoch.
Type:
dict
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.