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

A way to specify DOB year or age range? #116

Open
storymasterq opened this issue Oct 1, 2018 · 0 comments
Open

A way to specify DOB year or age range? #116

storymasterq opened this issue Oct 1, 2018 · 0 comments

Comments

@storymasterq
Copy link

I had a very brief look at the code and I couldn't see a way to quickly add a way to specify a range for birth year or age (or maybe I'm just not that well versed in the language), but is this possible?

From the code, I think currently the minimum age possible is 21? And I couldn't work out the maximum age. This isn't stated anywhere in the docs, I don't think, so I'm wondering if it can be changed, say ensuring the returned person is only between 30 to 39 years old.

Or I guess I could call the API again and again until I get enough 30-39 year olds, but that'd be a bit taxing to the servers, wouldn't it? Or I guess I could fiddle with whatever the returned DOBs to ensure the ages are within my range.

But a way to specify range sure would be nice 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant