Skip to main content

A Python wrapper for YouTube Key word detection API.

Project description

YTKD

ytkd-api is sponsored by:

Description

A YouTube key word detection API that takes in video URL and key words and outputs each key word along with its time of occurrence in the video.

Installation

Download using pip via pypi.

$ pip install ytkd-api

Getting started

Import YTKD:

>>> from ytkd-api import YTKD

Assign data.

>>> url = 'https://www.youtube.com/watch?v=vW9edcLqND0'
>>> keywords = 'and, to'

Create an object of YTKD.

>>> ytkd = YTKD(url=url, keywords=keywords)

Get the expected processing time.

>>> ytkd.get_expected_time() # returns the expected time in minutes e.g. 5

Get the results for the given keywords.

>>> ytkd.get_results() # returns the results in form of a dictionary of type {str: list}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ytkd_api-0.0.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ytkd_api-0.0.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file ytkd_api-0.0.2.tar.gz.

File metadata

  • Download URL: ytkd_api-0.0.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for ytkd_api-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7925e114d23b741e6efada1b499ebc25718f15f030bf99d1da94bc63f034fe2f
MD5 790d63c617333c603f50de393e104935
BLAKE2b-256 885397d368fdeb89f1be8a4de01f1f1562519bd08b9a590430c9e27a7ffa2246

See more details on using hashes here.

File details

Details for the file ytkd_api-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ytkd_api-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for ytkd_api-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d92f23f160a5fdce0e958d5dce03be5f41ebf1d9ea7ecb1be64205dc7c6579fc
MD5 72552c22d577b1c37d77a96c66bd0b0c
BLAKE2b-256 84be48f11705e9c2e6b79674d1cf29887c5a82dae4b0c849b3ad998db00eff50

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page