Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

requests wrapper library for obtaining book information from the Japan National Diet Library.

Project description

Jpndlpy: HTTP Client for the Japan National Diet Library API.

image image image

jpndlpy is a requests wrapper library for obtaining book information from the Japan National Diet Library.

Description

jpndlpy is gets information from opensearch provided by the Japan National Diet Library, and The obtained data is converted to json format.

Installation

How to install jpndlpy

$ python setup.py install
$ pip3 install jpndlpy

Usage

How to Use

sample code

jndlclient = JapanNdlClient()
# jndlclient.search_text(title="test", cnt=1, from_date="2018-1*22", until_date="tee")
# jndlclient.search_text(title="test", cnt=1, from_date="2018-1-22")
response = jndlclient.search_text(title="python", cnt=2)

print(response.to_json())

Documentation

Licence

BSD-2-Clause

Project details


Download files

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

Files for jpndlpy, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size jpndlpy-0.2.0-py3-none-any.whl (10.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size jpndlpy-0.2.0.tar.gz (6.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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