1.0.7 • Published 12 months ago

@docchi/cda-checking v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@docchi/cda-checking

Simple checking package, if cda video is deleted or available.

Okładka

Kontakt

Installation

Node.js required

npm install @docchi/cda-checking

How to use

Don't forget to add

"type": "module"

to package.json

How to use:

Examples of ID

Example:

import checkPlayer from "@docchi/cda-checking";

console.log(await 
  checkPlayer("https://www.cda.pl/video/115890987a")
)

If available

{
    "status": 200, 
    "message": "Source exists" 
}

Codes

  • 500 - Something went wrong!
  • 410 - Source removed by administrators.

  • 200 - Source exists

  • 206 - Page loaded, but couldn't verify if source exists

Support

IMPORTANT: Help me beeing efficient, please! I am developing in my free time for no money. Contribute to the project by posting complete, structured and helpful issues which I can reproduce quickly without asking for missing information.

ko-fi

License

MIT

1.0.7

12 months ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.2

1 year ago

1.0.1

2 years ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.0

2 years ago