네이버 API를 사용한 검색/번역 라이브러리
Project description
Naipy(네이피)
누구나 쉽게 네이버 API를
누구나 손쉽게 네이버API를 사용할 수 있어요!
동기 비동기 모두 지원합니다!
현재 지원API : 검색API, 번역API, 언어감지API
Github 바로가기
Installation
$ pip install naipy
Example
검색(이미지)[동기]
from naipy import sync
nipy = sync.Search()
# 필수 인자(API)가 들어가는 곳입니다. (샘플키지원)
print(nipy.image("너구리").link)
# 너구리라는 검색어 데이터의 link를 반환합니다.
검색(이미지)[비동기]
from naipy import client
import asyncio
async def main():
c = client.Search()
# 필수 인자(API)가 들어가는 곳입니다. (샘플키지원)
r = await c.image("너구리")
# 너구리라는 검색어 데이터의 link를 반환합니다.
print(r.link)
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
naipy-2.0.0.tar.gz
(6.2 kB
view details)
Built Distribution
naipy-2.0.0-py3-none-any.whl
(7.4 kB
view details)
File details
Details for the file naipy-2.0.0.tar.gz
.
File metadata
- Download URL: naipy-2.0.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b846c70ec9190da456f818aefae77f3f732a1dab8dcae15e5900c62012bfc40 |
|
MD5 | a8454e4ce6d6747b99f0b7d3a2e9bb42 |
|
BLAKE2b-256 | 097ecac1a8b358f597e8f8b4d49856a2ac71ab0e3861134b46c7e732ea0ea0d6 |
File details
Details for the file naipy-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: naipy-2.0.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a5e6c70cbbb57352c00d90138de96eed48c425be4a38b0779821a8256d98722 |
|
MD5 | fe78d7be27d0ad07be38c760bd1d9a08 |
|
BLAKE2b-256 | 5a237168121520f00dcba91a304e2ecc6a68cde5b284b30a1e7a84091c0a46e6 |