Skip to main content

네이버 API를 사용한 검색/번역 라이브러리

Project description

Naipy(네이피)

image

누구나 쉽게 네이버 API를


누구나 손쉽게 네이버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


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 hashes)

Uploaded Source

Built Distribution

naipy-2.5.1-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page