mirror of
https://github.com/Babibubebon/isdn-python.git
synced 2024-09-22 17:24:20 +09:00
Update README.md
This commit is contained in:
parent
f4dec25b40
commit
c16282aa28
1 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
# ISDN-Python
|
# ISDN-Python
|
||||||
|
|
||||||
|
[![PyPI version](https://badge.fury.io/py/isdn.svg)](https://badge.fury.io/py/isdn)
|
||||||
|
[![Test](https://github.com/Babibubebon/isdn-python/actions/workflows/test.yml/badge.svg)](https://github.com/Babibubebon/isdn-python/actions/workflows/test.yml)
|
||||||
|
|
||||||
[ISDN (International Standard Dojin Numbering)](https://isdn.jp/) のPythonライブラリとCLIツール
|
[ISDN (International Standard Dojin Numbering)](https://isdn.jp/) のPythonライブラリとCLIツール
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
@ -10,6 +13,8 @@ $ pip install isdn
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
|
ISDNを[番号の仕様](https://isdn.jp/about.html)に従って検証
|
||||||
|
|
||||||
```python
|
```python
|
||||||
>>> from isdn import ISDN
|
>>> from isdn import ISDN
|
||||||
>>> isdn = ISDN("2784702901978")
|
>>> isdn = ISDN("2784702901978")
|
||||||
|
@ -19,6 +24,8 @@ True
|
||||||
'8'
|
'8'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
isdn.jp が提供している書誌情報を取得 ([Web からの情報取得](https://isdn.jp/about.html))
|
||||||
|
|
||||||
```python
|
```python
|
||||||
>>> from isdn import ISDNClient
|
>>> from isdn import ISDNClient
|
||||||
>>> client = ISDNClient()
|
>>> client = ISDNClient()
|
||||||
|
|
Loading…
Reference in a new issue