You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.
현재 list 함수의경우 최신 page 만 지원하는것 같은데요. 혹시 타겟 페이지를 지정할수있는건 어떨까요?
검토부탁드릴께요.
deflist(self, blog_name=None, target_url=None, page_num=None):
"""post/list API 구현입니다. 최근 게시물 목록을 가져올 수 있는 API입니다. 해당 API에 관한 정보는 `링크 <http://www.tistory.com/guide/api/post.php#post-list>`_ 를 통해 살펴보실 수 있습니다. :param blog_name: 블로그 명입니다., defaults to None :type blog_name: str, optional :param target_url: 블로그의 url입니다. deprecated된 옵션입니다., defaults to None :type target_url: str, optional :param page_num: 리스트를 얻어올 타겟 페이지입니다. :type page_num: int, optional :raise NoSpecifiedBlog: 블로그 정보를 설정할 수 없을 때 일어납니다. :raise TypeError: 인자의 타입이 잘못되었을 때 일어납니다. :return: `최근 게시글 목록 API <http://www.tistory.com/guide/api/post.php#post-list>`_ 링크에서 어떤 데이터가 넘어오는 지 알 수 있습니다. :rtype: dict """url=self._get_url(self.kind, 'list')
params=self._get_default_params()
self._set_blog_name(params, blog_name, target_url)
ifisinstance(page_num, int) andvisibility>=1:
params['page'] =page_numelse:
raiseTypeError('A page_num must be number.')
response=self._perform('GET', url, params=params)
returnresponse
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
tistory 를 전체 백업을 진행하고있습니다.
현재 list 함수의경우 최신 page 만 지원하는것 같은데요. 혹시 타겟 페이지를 지정할수있는건 어떨까요?
검토부탁드릴께요.
The text was updated successfully, but these errors were encountered: