annict.api.API.edit_record¶
-
API.
edit_record
(id_, comment=None, rating=None, share_twitter=False, share_facebook=False)[source]¶ Edit the created record.
Reference: Parameters: - id (int) – Record’s ID.
- comment (str) – (optional) Comment.
- rating (float) – (optional) Rating.
- share_twitter (bool) – (optional) Whether to share the record on Twitter. You can enter True or False.
- share_facebook (bool) – (optional) Whether to share the record on Facebook. You can enter True or False.
Returns: Record
object after update.