Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coddingtonbear/lln-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).
https://github.com/coddingtonbear/lln-json-parser
Last synced: 20 days ago
JSON representation
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).
- Host: GitHub
- URL: https://github.com/coddingtonbear/lln-json-parser
- Owner: coddingtonbear
- License: mit
- Created: 2021-08-21T20:18:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-23T00:28:02.000Z (over 3 years ago)
- Last Synced: 2024-10-19T12:37:41.016Z (2 months ago)
- Language: Python
- Size: 83 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```python
from lln_json_parser.parser import get_entrieswith 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.