Skip to main content

23andme API

Project description

meand23

Installation

pip install meand23

Usage

Log in, identify profiles with a processed kit, and print each profile's genome:

import json
m23 = MeAnd23()
m23.login('your@gmail.com', 'your_password')
profiles = m23.profiles()
profiles_with_kit = []
for profile in profiles:
    try:
        m23.use_profile(profile)
        m23.chromosome(1)
        profiles_with_kit.append(profile)
    except MissingKitError:
        pass

for profile in profiles_with_kit:
    m23.use_profile(profile)
    for gene in m23.genome():
        print(gene)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meand23-0.0.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

meand23-0.0.2-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page