33[ ![ Build & Publish] ( https://github.com/bartholomej/node-csfd-api/workflows/Publish/badge.svg )] ( https://github.com/bartholomej/node-csfd-api/actions )
44[ ![ codecov] ( https://codecov.io/gh/bartholomej/node-csfd-api/branch/master/graph/badge.svg?token=YQH9UoVrGP )] ( https://codecov.io/gh/bartholomej/node-csfd-api )
55
6- # CSFD API 2023
6+ # CSFD API 🎥 2024
77
88> JavaScript NPM library for scraping ** Czech Movie Database (csfd.cz)**
99>
1010> - JavaScript / TypeScript
1111> - Browser + Node.js (SSR)
1212> - Tested (~ 100% Code coverage)
13- > - ✅ Ready for new ČSFD 2021 !
13+ > - ✅ Ready for new ČSFD 2024 !
1414> - You can use in:
1515> - Firebase function
1616> - AWS λ (lambda function)
1919> - React native app
2020> - Browsers (Pay attention to CORS)
2121
22- ## Install
22+ ## 🗜️ Install
2323
2424``` bash
2525npm install node-csfd-api
2626# yarn add node-csfd-api
2727```
2828
29- ## Usage and examples
29+ ## 🛠️ Usage and examples
3030
3131- [ Movies and TV Series] ( #Movie )
3232- [ User Ratings] ( #User-Ratings )
@@ -35,16 +35,17 @@ npm install node-csfd-api
3535
3636### Movie
3737
38- Get info about [ this movie] ( https://www.csfd.cz/film/535121-na-spatne-strane/komentare/ ) _ (id: 535121)_
38+ > Get info about [ this movie] ( https://www.csfd.cz/film/535121-na-spatne-strane/komentare/ ) _ (id: 535121)_
3939
4040``` javascript
4141import { csfd } from ' node-csfd-api' ;
4242
4343csfd .movie (535121 ).then ((movie ) => console .log (movie));
4444```
4545
46- #### Results
47-
46+ <details >
47+ <summary >Click here to see full result example</summary >
48+
4849``` javascript
4950{
5051 id: 535121 ,
@@ -136,6 +137,7 @@ csfd.movie(535121).then((movie) => console.log(movie));
136137 ]
137138}
138139```
140+ </details >
139141
140142### Search
141143
@@ -147,10 +149,11 @@ import { csfd } from 'node-csfd-api';
147149csfd .search (' bart' ).then ((search ) => console .log (search));
148150```
149151
150- #### Results
151-
152+ <details >
153+ <summary >Click here to see full result example</summary >
154+
152155``` javascript
153- movies : [
156+ [
154157 {
155158 id: 19653 ,
156159 title: ' Black Bart' ,
@@ -198,6 +201,8 @@ users: [
198201]
199202```
200203
204+ </details >
205+
201206### Creators
202207
203208> Get creator info + filmography
@@ -208,7 +213,8 @@ import { csfd } from 'node-csfd-api';
208213csfd .creator (2120 ).then ((creator ) => console .log (creator));
209214```
210215
211- #### Results
216+ <details >
217+ <summary >Click here to see full result example</summary >
212218
213219``` javascript
214220{
@@ -285,6 +291,8 @@ csfd.creator(2120).then((creator) => console.log(creator));
285291}
286292```
287293
294+ </details >
295+
288296### User Ratings
289297
290298#### Last ratings (last page)
314322 .then ((ratings ) => console .log (ratings));
315323```
316324
317- #### Results
325+ <details >
326+ <summary >Click here to see full result example</summary >
318327
319328``` javascript
320329[
339348];
340349```
341350
342- #### Options
351+ </details >
352+
353+ #### Options for user ratings
343354
344355| Option | Type | Default | Description |
345356| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ------- | ------------------------------------------------------ |
348359| ** allPages** | boolean | false | Get all pages |
349360| ** allPagesDelay** | number | 0 | Delay on each page request. In milliseconds |
350361
351- _ Note: You can not use both parameters ' includesOnly' and ' excludes' . Parameter ' includesOnly' has a priority._
362+ _ Note: You can not use both parameters ` includesOnly ` and ` excludes ` . Parameter ` includesOnly ` has a priority._
352363
353364## 🧑💻 Used by
354365
@@ -364,7 +375,7 @@ _Note: You can not use both parameters 'includesOnly' and 'excludes'. Parameter
364375
365376### Mobile applications
366377
367- - KinoKlub – Mobile application for AeroFilms (React Native: Android + iOS application)
378+ - [ KinoKlub] ( https://play.google.com/store/apps/details?id=com.aquasoup ) – Mobile application for AeroFilms (React Native: Android + iOS application)
368379
369380## 🔮 Roadmap
370381
@@ -414,7 +425,7 @@ _Note: You can not use both parameters 'includesOnly' and 'excludes'. Parameter
414425 - [x] Last ratings
415426 - [x] All pages
416427
417- ## Development
428+ ## 🛠️ Development
418429
419430### Developing and debugging library
420431
0 commit comments