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

API Live.getLastVisitsDetails Error for RSS format: Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' #11939

Open
c-prompt opened this issue Aug 5, 2017 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@c-prompt
Copy link

c-prompt commented Aug 5, 2017

Under:

- Live.getLastVisitsDetails (idSite, period = '', date = '', segment = '', countVisitorsToFetch = '', minTimestamp = '', flat = '', doNotFetchActions = '') [ Example in XML, Json, Tsv (Excel) , RSS of the last 10 days ]

on https://developer.piwik.org/api-reference/reporting-api#Live, specifically the link in RSS of the last 10 days:

...returns the error:

Error: Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' or any keyword supported by the strtotime function (see http://php.net/strtotime for more information):

Might be related to closed bug #6086.

@mattab mattab changed the title API Live.getLastVisitsDetails Error: Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' or any keyword supported by the strtotime function API Live.getLastVisitsDetails Error for RSS format: Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' Sep 18, 2017
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Sep 18, 2017
@mattab
Copy link
Member

mattab commented Sep 18, 2017

Thanks for the report @c-prompt

We could either:

  • Make this API (and any other similar APIs) work with RSS format
  • or hide the RSS format link for this API method (and any other similar APIs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants