네이버 API를 사용한 검색/번역 라이브러리
Project description
Naipy(네이피)
누구나 쉽게 네이버 API를
동기 비동기 모두 지원합니다!
현재 지원API : 검색API, 번역API, 언어감지API
자세한 사용법은 여기를 참조해주세요!
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.5.1.tar.gz
(6.8 kB
view details)
Built Distribution
naipy-2.5.1-py3-none-any.whl
(8.5 kB
view details)
File details
Details for the file naipy-2.5.1.tar.gz
.
File metadata
- Download URL: naipy-2.5.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b5ca4204311717214469cfce902f360734c0c293fb6a758e35d3cebfcb39017 |
|
MD5 | bc7d1535e0e1dabe3114d5480f0f1603 |
|
BLAKE2b-256 | 73ce9cd13892fe29f19feaaf54597a4bc4e4dabd2b6a419a2b0ab18b529ed4cd |
File details
Details for the file naipy-2.5.1-py3-none-any.whl
.
File metadata
- Download URL: naipy-2.5.1-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de9d36081d1400404b3631087b32426ac64a18b013483644c8d8d28c6eb8d82a |
|
MD5 | 494cd4392cae12d1a4f82682958dce73 |
|
BLAKE2b-256 | a5000f8068d270d50210be6b5f5326de146c924942073913e91396945d426694 |