FluentCineworld 9.0.0

dotnet add package FluentCineworld --version 9.0.0
                    
NuGet\Install-Package FluentCineworld -Version 9.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="FluentCineworld" Version="9.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluentCineworld" Version="9.0.0" />
                    
Directory.Packages.props
<PackageReference Include="FluentCineworld" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FluentCineworld --version 9.0.0
                    
#r "nuget: FluentCineworld, 9.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.
#:package FluentCineworld@9.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FluentCineworld&version=9.0.0
                    
Install as a Cake Addin
#tool nuget:?package=FluentCineworld&version=9.0.0
                    
Install as a Cake Tool

FluentCineworld

Build Status NuGet package

Fluent C# API for obtaining Cineworld listings.

The API uses the fluid builder pattern so the below examples can be combined.

Version 9.x

FluentCineworld 9.x was released as Cineworld closed multiple cinemas, resulting in a breaking change to the API.

FluentCineworld 9.x targets .NET 10 as .NET 6 has reached end of support.

Version 8.x

FluentCineworld 8.x was released as Cineworld closed two cinemas, resulting in a breaking change to the API.

Version 7.x

FluentCineworld 7.x targets .NET 6 as .NET 5 has reached end of support.

The API itself has changed slightly - DateOnly is now used where appropriate.

Version 6.x

FluentCineworld 6.x targets .NET 5 as it replaces .NET Standard.

The API itself remains mostly untouched - cinema ids are now a string rather than an integer.

Version 5.x

FluentCineworld 5.x targets .NET Standard 2.0 and therefore can be run on either .NET Core and the full .NET Framework.

Version 5 is very similiar to version 4 but is easier to use with Dependency Injection.

Version 4.x

FluentCineworld 4.x targets .NET Standard 1.2 and therefore can be run on either .NET Core and the full .NET Framework.

Version 4 uses the new Cineworld Data API Service and therefore the returned data has changed from previous releases.

Version 3.x

Version 3 will no longer return data as Cineworld have changed their site.

Usage

To obtain listings, an ICineworld instance is required. The class Cineworld implements this interface and only requires an HttpClient instance. This can be come from FluentCineworld's Shared class (as shown below), provided via a HttpClientFactory or any other source.

Getting all listings for a cinema:

var cineworld = new Cineworld(Shared.HttpClient);
var shows = await cineworld.WhatsOn(Cinema.MiltonKeynes)
                           .RetrieveAsync();

Getting all listings between certain dates:

var cineworld = new Cineworld(Shared.HttpClient);
var shows = await Cineworld.WhatsOn(Cinema.MiltonKeynes)
                           .From(new DateTime(2018, 1, 1))
                           .To(new DateTime(2018, 1, 8))
                           .RetrieveAsync();

Getting all listings for a certain day of week:

var cineworld = new Cineworld(Shared.HttpClient);
var shows = await cineworld.WhatsOn(Cinema.MiltonKeynes)
                           .ForDayOfWeek(DayOfWeek.Friday)
                           .RetrieveAsync();

NuGet

If you don't care about the source code you can just install FluentCineworld using NuGet.

PM> Install-Package FluentCineworld
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.0.0 124 3/30/2026
8.1.0 374 1/30/2024
8.0.0 311 12/27/2023
7.1.0 810 6/7/2022
7.0.0 576 6/6/2022
6.0.0 684 9/8/2021
5.4.0 1,070 11/6/2019
5.3.0 962 6/19/2019
5.2.0 930 4/11/2019
5.1.0 933 4/8/2019
5.0.0 1,049 12/13/2018
4.1.0 1,103 10/26/2018
4.0.1 1,627 5/10/2018
4.0.0 1,651 4/9/2018
4.0.0-alpha 1,444 4/9/2018
3.2.0 1,459 8/16/2017
3.1.1 1,504 4/12/2017
3.0.0 1,597 10/25/2016
Loading failed

v9.0.0
Targeted .NET 10.0
Updated list of cinemas:
   Remove: Bedford, Castleford, Glasgow Parkhead, Glasgow Renfrew Street, Leigh, Loughborough, Middlesbrough, Northampton, Nottingham, Poole, Swindon Regent Circus, Weymouth, Yate
   Rename: Isle of Wight, Newport Spytty Park
Remove more unwanted film title prefixes and suffixes.