from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.policies.list_plans()
print(response.count)
{
"plans": [
{
"id": "<string>",
"name": "<string>",
"state": "<string>",
"company_id": "<string>"
}
],
"count": 123
}
Retrieve a list of plans.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.policies.list_plans()
print(response.count)
{
"plans": [
{
"id": "<string>",
"name": "<string>",
"state": "<string>",
"company_id": "<string>"
}
],
"count": 123
}
Plan name to filter by
Number of results to skip
Maximum number of results to return
Successfully retrieved plans