Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.27 KB

File metadata and controls

34 lines (25 loc) · 1.27 KB

Citation

Properties

Name Type Description Notes
chunk_id UUID
quote str The quote from the chunk
start_char int The 0-based start character of the quote in the chunk
length int The length of the quote
start_ms int Start time (ms) of the cited chunk in the source media, for AUDIO/VIDEO — lets the client deep-link playback to the moment. None for non-media chunks. [optional]
end_ms int End time (ms) of the cited chunk in the source media (AUDIO/VIDEO); None for non-media chunks. [optional]

Example

from ksapi.models.citation import Citation

# TODO update the JSON string below
json = "{}"
# create an instance of Citation from a JSON string
citation_instance = Citation.from_json(json)
# print the JSON string representation of the object
print(Citation.to_json())

# convert the object into a dict
citation_dict = citation_instance.to_dict()
# create an instance of Citation from a dict
citation_from_dict = Citation.from_dict(citation_dict)

[Back to Model list] [Back to API list] [Back to README]