Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

Search by year range #6

Closed
jkwill87 opened this issue Aug 15, 2017 · 0 comments
Closed

Search by year range #6

jkwill87 opened this issue Aug 15, 2017 · 0 comments
Milestone

Comments

@jkwill87
Copy link
Owner

Instead of, or in addition to filtering using the year_delta kwarg parameter, it would probably be useful to just search by year range.

i.e.:

from mapi.providers import IMDb
client = IMDb()
client.search(title='The Goonies', year='1980-1990')  # yields results between 1980 and 1990
client.search(title='The Goonies', year='1980-')      # yields results from 1980 to present
client.search(title='The Goonies', year='-1980')      # yields results from prior to 1980
@jkwill87 jkwill87 added this to the 2.0 milestone Sep 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant