Skip to main content

Python client for NHK API

Project description

Python client for NHK API.


  • Python 3.3


$ pip install nhk-api


from datetime import date
from nhk import ProgramGuide

client = ProgramGuide(api_key='YOUR_API_KEY')

# Get program list
program_list = client.pg_list('130', 'g1',
# or
# program_list = client.pg_list('東京', 'NHK総合1',

# Get program list by genre
program_list_by_genre = client.pg_genre('130', 'g1', '0700',
# or
# program_list_by_genre = client.pg_genre('東京', 'NHK総合1', 'アニメ/特撮(国内アニメ)',

# Get program information
program_info = client.pg_info('130', 'g1', '2014021499999')
# or
# program_info = client.pg_info('東京', 'NHK総合1', '2014021499999')

# Get information of program that is broadcasting now
program_now = client.pg_now('130', 'g1')
# or
# program_now = client.pg_now('東京', 'NHK総合1')

Project details

Release history Release notifications

This version
History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
nhk_api-0.0.2-py2.py3-none-any.whl (8.0 kB) Copy SHA256 hash SHA256 Wheel 3.3 Feb 10, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page