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

How can we get more results? #153

Open
gelodefaultbrain opened this issue Apr 11, 2023 · 0 comments
Open

How can we get more results? #153

gelodefaultbrain opened this issue Apr 11, 2023 · 0 comments

Comments

@gelodefaultbrain
Copy link

gelodefaultbrain commented Apr 11, 2023

Hi, I hope this ticket gets addressed early, I've tried using the code and it's cool. Thank you for this.

Just wondering how can we get more results? What I mean is get more number of people as a result? Because as of now I'm only getting around 20+. Hoping to get at least 100 or more?

In this code

if __name__ == "__main__":

    change_pref = change_preferences(
        age_filter_min=18,
        age_filter_max=40,
        gender=1,
        distance_filter=95,
        discoverable=True
    )

    #print(f"Preference response: {change_pref}")

    recs = get_recommendations()
    #for get_recommendations
    print(len(recs["results"]))


    recs2 = get_recs_v2()
    print(len(recs2["data"]["results"]))

Output

23
21

Now I've added a preference however the number of results are still the same. I tried the two ways of getting recommendations but still no luck.

Is there a way for us to have more results? Probably is there some sort of pagination? or anything at all. Feel free to add in the comments.

Hoping for a fast reply. Thank you!

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