• We installed yesterday the REST API and I have a few questions and things to comment on it πŸ™‚

    * First of all the documentation on https://documenter.getpostman.com/view/3239688/RWTkSeby is not up to date. Doing the https://{your-domain}/wp-json/wpstatistics/v1 will display the actual documentation
    * I’ve seen it’s not possible to filter by dates not even with from|to or rangestart|rangeend and it can only be done by days which if you want old information or specific date range is a PITA to use. Reading the code I did not see any possibility to have that but on the actual WP-Statistics it’s how it works, you filter by dates.

    I don’t know if this is the right place to do this or I should open an Issue to the right GitHub repo (if you link it to me I can do that).

    The main thing for me is to be able to filter by dates from|to instead of having to use the days.

    We are using the Version: 1.2.3

    PS: I’ve read a bit more the code and where it’s missing is on the hits (which is what I’m using) on other places you have the 'rangestartdate' and 'rangeenddate' defined, like on the browsers.

    Thanks for your work πŸ™‚

    • This topic was modified 5 years, 5 months ago by xescugc.
    • This topic was modified 5 years, 5 months ago by xescugc.
    • This topic was modified 5 years, 5 months ago by xescugc.

The topic ‘REST API’ is closed to new replies.