GetHistoricalTopic

과거의 주요 주제에 대한 문서를 가져옵니다.

Function specification

GetHistoricalTopic(
                category, section, topic_uid,
                sorts=None, count=10,
                summary=True,
                highlight_query=None,
                fields=None
)

Parameters

Parameter

Type

Description

category

string or list of string

국내뉴스: news

section

string or list of string

정치: politics

경제: economy

사회: society

문화: culture

세계: world

기술/IT: tech

연예: entertainment

사설: opinion

topic_uid

integer

토픽의 ID

sorts

string

  • 검색시 정렬의 기준이 되는 필드

  • 필드명 앞에 "-" 를 붙이면 내림차순으로 정렬됨

  • 여러 필드를 지정 할 수 있으며, 나열된 순서대로 정렬

count

integer

한 페이지에 표시할 문서의 최대 개수

summary

bool

연관 뉴스 content 를 요약할 것인지 설정

highlight_query

string

검색 결과에 하이라이트 할 키워드를 지정

fields

list of string

결과값으로 어떤 항목을 노출한 것인지 지정한다.

Result Layout

Result:HistoricalTopicsSearchResult(상세)

Examples

Last updated

Was this helpful?