The Google Health API gives you access to user-submitted health and wellness
data. User profile information is available through the
[`getProfile`](https://developers.google.com/health/reference/rest/v4/users/getProfile) endpoint but is
limited to metrics such as age and membership start date.

To get additional user profile information, you can use the
[People API](https://developers.google.com/people). You may need to request authorization for
additional scopes. For example, to read the user's birthday, you must include
`https://www.googleapis.com/auth/user.birthday.read` and
`https://www.googleapis.com/auth/userinfo.profile` in your authorization
request. For more information on People API authorization, see [Authorize Requests](https://developers.google.com/people/v1/how-tos/authorizing).

For example, to get the user's birthday using [People API](https://developers.google.com/people):

### Protocol

```
GET /v1/people/me?personFields=birthdays HTTP/1.1
Host: people.googleapis.com
```

### Java

```java
Person profile = peopleService.people().get("people/me")
    .setPersonFields("birthdays")
    .execute();
```

### Python

```python
profile = people_service.people()
    .get('people/me', personFields='birthdays')
```

### PHP

```php
$profile = $people_service->people->get(
    'people/me', array('personFields' => 'birthdays'));
```

### .NET

```c#
PeopleResource.GetRequest peopleRequest =
    peopleService.People.Get("people/me");
peopleRequest.PersonFields = "birthdays";
Person profile = peopleRequest.Execute();
```

### Response

```json
{
  "resourceName": "people/115549...",
  "etag": "%EgQBBy43...",
  "birthdays": [
    {
      "metadata": {
        "primary": true,
        "source": {
          "type": "DOMAIN_PROFILE",
          "id": "115549..."
        }
      },
      "date": {
        "month": 1,
        "day": 1
      }
    },
    {
      "metadata": {
        "source": {
          "type": "ACCOUNT",
          "id": "115549..."
        }
      },
      "date": {
        "year": 1990,
        "month": 1,
        "day": 1
      }
    }
  ]
}
```