Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Search keywords with a specific time frame #26

@toledobastos

Description

@toledobastos

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions