Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 360 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 360 Bytes

imdb-csv-parser

Small library to parse ratings.csv files that can be downoladed from IMDb site for a user, e.g. here - https://www.imdb.com/user/{userId}/ratings/export.

Usage

val parser = ImdbCsvParser()
val filepath = "/ratings/ratings_andrei.csv"
val items: List<ParsedItem> = filepath.toInputStream()
    .let { parser.parse(it) }