Skip to content

wlkz/onsen_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onsen_api

Note: This script is updated for the current version of onsen.ag. Enjoy~

A python library for Onsen(音泉) API.

Feature

  • Get current available program list
  • Get information of program
  • Download a program

Installation

pip install pipenv
pipenv install

Sample

from onsen_api import OnsenClient

# create a client
c = OnsenClient()

# get current available program list
l = c.program_list()
print(l['kokuradio'])

# download a program
m = c.get_program('kokuradio')
print(m.download_url)
print('start download')
m.download_latest()

About

A python library for Onsen(音泉 http://onsen.ag) API.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages