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
I've been trying to query Zeit API with any given time frame, but no luck so far. Has anyone managed to get the content API to let you set starting and end dates? Here's some o what I tried:
I also tried with &facet_date and the formats described in the documentation (i.e. "Kennedy" AND release_date:[1960-01-01T00:00:00Z TO 1969-12-31T23:59:59.999Z]). None of these work for me, as release_date won't return the requested dates.
In fact I haven't managed to use any string that returns the correct date.
Anything I might be missing with the request?
Cheers,
Marco
The text was updated successfully, but these errors were encountered:
I've been trying to query Zeit API with any given time frame, but no luck so far. Has anyone managed to get the content API to let you set starting and end dates? Here's some o what I tried:
http://api.zeit.de/content?q=turkei&release_date=2012-10-01T00:00:00ZTO2012-10-14T23:59:59Z&api_key=your_key # returns results from 2009 (??)
http://api.zeit.de/svc/search/v2/articlesearch.json?q=turkei&release_date=2012-10-01T00:00:00ZTO2012-10-14T23:59:59Z&api_key=your_key # returns "The requested resource can not be found."
http://api.zeit.de/content?q=turkei&release_date:[2012-10-01T00:00:00Z%20TO%202012-10-14T23:59:59.999Z]&api_key=your_key # same as above
I also tried with &facet_date and the formats described in the documentation (i.e. "Kennedy" AND release_date:[1960-01-01T00:00:00Z TO 1969-12-31T23:59:59.999Z]). None of these work for me, as release_date won't return the requested dates.
In fact I haven't managed to use any string that returns the correct date.
Anything I might be missing with the request?
Cheers,
Marco
The text was updated successfully, but these errors were encountered: