dolphin2410-archive / napit

A naver papago api client made with python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Napit

A naver Translate API Client

Other Languages

Installation

Napit, short for 'Naver API Translate' is a client programmed with python that allows you to easily access the naver papago translator api. You can install this project with pypi by running the command below.

pip install napit

Usage

from napit.ApiRequest import ApiRequest
from napit.Credentials import Credentials
from napit.Languages import Language

#Your API Credentials
credential = Credentials("CLIENT_ID", "CLIENT_SECRET")

# Translates 'Hello' from english to korean
print(ApiRequest.send(credential, Language.ENGLISH, Language.KOREAN, "Hello").text) 

Notice

I learned python in a day and this is my first project with python. There might be lots of errors 😂.

About

A naver papago api client made with python

License:MIT License


Languages

Language:Python 100.0%