Giter Club home page Giter Club logo

Comments (6)

devkingsejong avatar devkingsejong commented on July 25, 2024

곧 수정해 드리겠습니다. 잠시만 기다려 주세요.

from python-powernad.

devkingsejong avatar devkingsejong commented on July 25, 2024

해당부분 수정하였습니다. DatePrest에 들어가는 값은

스크린샷 2020-05-28 오후 1 08 41

입니다.

from python-powernad.

simisae avatar simisae commented on July 25, 2024

아... 수정해주신 것 감사합니다.
그런데 또 여쭤봤던 것중에 하나가
timeRange 형식인데요...

timeRange 를 쓸 경우
st = statinfo.get_stat_by_id(id = 'nkw-a001-01-xxxxxxxxxxxxxx', fields = 'avgRnk', timeRange = {"since":"2020-05-25","until":"2020-05-26"})

이렇게 해봤는데 안됩니다.
어떤식으로 해야 이게 작동을 하는건지요...

그리고 위에도 말씀드렸듯이
timeRange 나 datePreset 은 둘 중 하나만 기입해도 작동한다고 하는데,
timeRange 를 정의하지 않으면 무조건 에러가 납니다.

정리하면,

  1. timeRange 사용하는 방법
  2. 네이버API 가이드에선 timeRange 나 datePreset 둘 중 하나만 써도 된다고 하는데 timeRange 가 강제됨

이렇게입니다. 답변 꼭 부탁드립니다. ㅠ

from python-powernad.

devkingsejong avatar devkingsejong commented on July 25, 2024
fields = '["impCnt","clkCnt","salesAmt"]'
statr = stat.get_stat_by_id('grp-a001-01-000000002412336',
                                            fields, '{"since":"2017-02-26",
                                                         "until":"2017-03-04"}',
                                            None, None, None)
print(statr.data[0].dateEnd)

이렇게 사용하시면 됩니다.

from python-powernad.

simisae avatar simisae commented on July 25, 2024

답변 정말 감사드립니다. 좋은 하루 되세요! ^^

from python-powernad.

devkingsejong avatar devkingsejong commented on July 25, 2024

나머지 사용법들도 대강적 내용들은
https://github.com/devkingsejong/python-PowerNad/blob/master/powernad/mini_api_doc.md

위 문서에 있습니다.

API 문서 없는점 죄송합니다.
관심 가져 주셔서 감사합니다.

from python-powernad.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.