API endpoint that allows users to be viewed.

Genders are `{0:'unknown', 1:'male', 2:'female'}

eg http://localhost:8000/api/users/?count_questions__gte=5 to get only users who have asked at least 5 questions

people following me: http://localhost:8000/api/users/?following_users__following=1

people I follow: http://localhost:8000/api/users/?follower_users__user=1

or shorthand for the same:

people following 1: http://localhost:8000/api/users/?is_following=1

people 1 follows: http://localhost:8000/api/users/?is_followed_by=1

Custom Compare filtering & sorting:

we can filter for users who have previously been compared, with a minimum overlap, a pick a sorting method based on their cached compare

http://localhost:8000/api/users/?compare_check={{ userid }},{{ minimum_overlap }},{{ sorting_method }}

eg: http://localhost:8000/api/users/?page=1&page_size=15&compare_check=1,20,compares__difference_percent

Demographics

check out /demographics to see demographic information about a query

eg http://localhost:8000/api/users/demographics/?count_questions__gte=5 to get demographic information on the first example

you may also set a start date, and number of steps on a demographic query

Geographics

check out /geographics to see demographic information about a query

eg http://localhost:8000/api/users/geographics/?count_questions__gte=5 to get geographics information on the first example

GET /api/users/6713/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 6713,
    "username": "HeadOpener",
    "first_name": "Jason",
    "last_name": "Halsey",
    "url": "https://api.represent.me/api/users/6713/",
    "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/8a8890c1-5544-48e1-a0ad-7d82161308c3.png",
    "age": 45,
    "latest_compare": [],
    "follow": [],
    "locations": [
        "https://api.represent.me/api/user_geos/726665/",
        "https://api.represent.me/api/user_geos/726664/",
        "https://api.represent.me/api/user_geos/726663/",
        "https://api.represent.me/api/user_geos/736377/",
        "https://api.represent.me/api/user_geos/736376/",
        "https://api.represent.me/api/user_geos/736375/"
    ],
    "bio": "All about personal rights especially digitally where most folks don't notice the fast erosion of them. Humanitarian, compassionate regardless of race, religion or country of origin.",
    "created_at": "2016-09-22T18:25:00.692035Z",
    "modified_at": "2019-04-15T15:51:53.734999Z",
    "is_deleted": false,
    "country": 20977,
    "country_info": {
        "id": 20977,
        "ID": "E1",
        "name": "Europe",
        "m_type": "country",
        "location": {
            "type": "Point",
            "coordinates": [
                8.542895397135718,
                50.13662306127327
            ]
        },
        "members_count": 9519,
        "question_count": 186,
        "created_at": "2016-11-18T11:48:43Z",
        "type_description": null,
        "parent": null,
        "parent_url": null,
        "politicians": [],
        "modified_at": "2020-01-22T14:31:56.404474Z"
    },
    "region": null,
    "region_info": null,
    "last_answer_time": "2019-04-02T16:20:54.422672Z",
    "politician": null,
    "politician_info": null,
    "is_email_verified": true,
    "is_admin_verified": false,
    "is_facebook_verified": false,
    "is_google_verified": false,
    "is_twitter_verified": true,
    "is_linkedin_verified": true,
    "is_stripe_verified": false,
    "verification_count": 4,
    "verification_score": 87,
    "count_questions": 0,
    "count_votes": 404,
    "count_question_votes": 371,
    "count_friends": 0,
    "count_comment_votes": 51,
    "count_choice_votes": 33,
    "count_group_memberships": 8,
    "count_following_tags": 127,
    "count_comments": 10,
    "count_following_users": 3,
    "count_followers": 1,
    "karma": 2
}