OnSive.Netflix.PersonalData 2.0.0

Prefix Reserved
dotnet add package OnSive.Netflix.PersonalData --version 2.0.0                
NuGet\Install-Package OnSive.Netflix.PersonalData -Version 2.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OnSive.Netflix.PersonalData" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OnSive.Netflix.PersonalData --version 2.0.0                
#r "nuget: OnSive.Netflix.PersonalData, 2.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OnSive.Netflix.PersonalData as a Cake Addin
#addin nuget:?package=OnSive.Netflix.PersonalData&version=2.0.0

// Install OnSive.Netflix.PersonalData as a Cake Tool
#tool nuget:?package=OnSive.Netflix.PersonalData&version=2.0.0                

GitLab

Get

Install-Package OnSive.Netflix.PersonalData

Usage

  1. Instantiate a new NetflixParser object and pass the path to the exported folder (...\netflix-report). 1.1 With the netflix-report.zip file

     var netflixParser = new NetflixParser("C:\Users\My_User\Downloads\netflix-report.zip");
    

    Note: The data preloaded as the zip file will be extracted to a folder within %tmp% and directly deleted afterwards.!

    1.2 With the extracted netflix-report.zip directory

     var netflixParser = new NetflixParser("C:\Users\My_User\Downloads\netflix-report");
    
  2. Optionally preload all data

netflixParser.Load();
// or
await netflixParser.LoadAsync();

Note: The data is loaded and cached on access. With the .Load(); method, you can preload all data. This will take a few seconds and could be done with a background worker.

  1. After that you're done and can access all informations via the different lists. Most properties got the same name like described in the Cover sheet.pdf which is delivered within the netflix-report folder.

Example for printing out all profile names and their creation time:

var netflixParser = new NetflixParser("C:\Users\My_User\Downloads\netflix-report");

foreach (var profileItem in netflixParser.Profiles)
{
    Console.WriteLine($"User {profileItem.ProfileName} was created at {profileItem.ProfileCreationtime}.");
}

Q&A

Why is there such a long loading time on some properties??

Netflix was kind enough to provide the data in a wonderful way... The csv files are fine, but all data in the .txt files are one Json object per line. This means that I have to deserialize every line in a .txt file one by one.

Third Party

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.