Csfd class is the primary interface for accessing ČSFD data. It provides methods to fetch movies, search content, retrieve creator information, and access user data.
Import
Default Instance
The library exports a pre-configuredcsfd instance that you can use immediately:
Constructor
While you typically use the defaultcsfd instance, you can create a custom instance with default options:
Default options applied to all API calls
Methods
setOptions()
Update the default options for all subsequent API calls.Options to set
Available Methods
TheCsfd class provides the following methods to interact with ČSFD data:
movie()
Get detailed information about a movie or TV series
search()
Search for movies, TV series, creators, and users
creator()
Get creator biography and filmography
userRatings()
Retrieve user ratings from their profile
userReviews()
Get user reviews from their profile
cinema()
Get cinema showtimes for a district