Skip to main content

Parse the JSON export of your saved words and phrases in Language Learning with Netflix so you can use them with other systems (e.g. converting them into Anki flashcards).

Project description

Language Learning with Netflix JSON Parser

Parse the JSON export of your saved words and phrases in Language Learning with Netflix so you can use them with other systems (e.g. converting them into Anki flashcards).

  • Free software: MIT license

Installation

pip install lln-json-parser

You can also install the in-development version with:

pip install https://github.com/coddingtonbear/lln-json-parser/archive/master.zip

Use

from lln_json_parser.parser import get_entries

with open('/path/to/lln_json_export.json', 'r') as inf:
    for entry in get_entries(inf):
        print(entry)

The above will hand you a list of SavedWord or SavedPhrase instances -- you can find type definitions for what data is available by consulting the types.py file.

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

lln-json-parser-0.1.3.tar.gz (68.7 kB view hashes)

Uploaded Source

Built Distribution

lln_json_parser-0.1.3-py2.py3-none-any.whl (65.8 kB view hashes)

Uploaded Python 2 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