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.3.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.3-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ytkd_api-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 cc50dfc220a8c9b75a814a6dca7901927fe95f437b2936dd9d86a6ae9606ed42
MD5 1a711ef16e3eea81253cb5b0643ca48a
BLAKE2b-256 10e7e939a55494eaa3802353af569748322dfb5995b271977eb9c4c9da7b6760

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ytkd_api-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5ab5d6aef1cd8aa054cf9d72a403ac4e50005afd16240d238ca9dc3f1def3e10
MD5 b127e0cd4c8431ca506f8b2bc3f50066
BLAKE2b-256 04e26aa867609a1d8e5ab4b606a7638693fadbc174e2b723b9969238b2737bed

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