Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

검색량 추출 문의 #18

Open
lililliilil opened this issue Jun 16, 2022 · 1 comment
Open

검색량 추출 문의 #18

lililliilil opened this issue Jun 16, 2022 · 1 comment

Comments

@lililliilil
Copy link

lililliilil commented Jun 16, 2022

안녕하세요.
먼저 좋은 모듈을 개발해주셔서 감사드립니다.
다름이 아니라 제가 파이썬 공부를 한 지 얼마 안돼서 찾다 찾다 도저히 모르는 부분이 있어서 글을 남겼습니다. ㅠ

아래와 같이 코드를 짜서 검색량 데이터를 받고 있는데, 혹시 작년 검색량은 받을 수 없을까요?
month를 바꿨는데도, 검색량 수가 똑같네요 ㅠㅠ
작년, 재작년 월별 검색량을 추이를 알고 싶은데 방법이 없을까요?

kwdDataList = rel.get_rel_kwd_stat_list(siteId=None, biztpId=None, hintKeywords=searchword, event=None, month='4', showDetail='1')

kwd_result = (kwdDataList[0].relKeyword,
             kwdDataList[0].monthlyPcQcCnt,
             kwdDataList[0].monthlyMobileQcCnt,
             kwdDataList[0].monthlyPcQcCnt+kwdDataList[0].monthlyMobileQcCnt)

return(kwd_result[3])
@devkingsejong
Copy link
Owner

제 기억으로 month 값은 1~12만 지원하는 것으로 알고 있습니다만.. 오래전 기억이라 다를 수도 있습니다.
네이버에서 최근 변경된 내용은 이 모듈에서 반영되어있지 않기 때문에,
REST Call로 직접 호출 하여야할 것 같습니다.

지원하는 호출 예시는

https://github.com/devkingsejong/python-PowerNad/blob/master/powernad/mini_api_doc.md
에 있습니다.
감사합니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants