네이버 API를 사용한 검색/번역 라이브러리
Project description
Naipy(네이피)[Beta]
누구나 쉽게 네이버 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.0.tar.gz
(6.8 kB
view details)
Built Distribution
naipy-2.5.0-py3-none-any.whl
(8.5 kB
view details)
File details
Details for the file naipy-2.5.0.tar.gz
.
File metadata
- Download URL: naipy-2.5.0.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 | ebdf5c1c147003b885a77e71155f199259bf961489de7f9ce0bcd96a1894e51e |
|
MD5 | 52b229ea3ce09f658d352d974c8ef374 |
|
BLAKE2b-256 | 7927aaf0748f4683a553e10e9f96fcd6474703fc05e5c51553f2fae604c3e48c |
File details
Details for the file naipy-2.5.0-py3-none-any.whl
.
File metadata
- Download URL: naipy-2.5.0-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 | 27784ffb567478f2a51e0f930a5d7913ada15f95e2f845892764ace44e0cab69 |
|
MD5 | 1c70879b0f487858915088d1706bdbb5 |
|
BLAKE2b-256 | 5e795ccb03d7b563bfe73e60864c77d53fd9c70ddac9af53821c637ca825dca9 |