Skip to content

J-Hoplin/Papago-API-Translate-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot : Translation bot using papago API


1 . Discord.py Version : 1.0.0(Rewrite Version)

2 . Language : Python3

3 . What for? : Translation bot helps to translate words or sentences more faster with using command

4 . API provided from : Naver Open API

5 . Papago API Documentation : https://developers.naver.com/docs/papago/

6 . Papago API's HTTP Method : POST


The problems I had in writing this code

  • 포스트 맨으로 API테스트를 해보던중 이상한 오류가 있었습니다

    !img](img/2.png)

  • 분명히 parameter 'source'의 값을 넣어주고 테스트를 했음에도 불구하고 오류코드 N2MT01 ( parameter 'source'가 없을때 뜨는 오류)가 계속 나오는것입니다

  • 반면에 코드로 API호출을 했을때는 문제 없이 값을 반환하는것을 볼 수 있었습니다.

    img

  • 결론적으로 찾은 문제점은 포스트맨에서는 한글을 잘 못읽는다는 것입니다. (헤결완료)


  • Intertranslatable language in this code

    • Korean <-> English

    • Korean <-> Japanese

    • Korean <-> Chinese(Simplified Chinese)

  • img

  • img

  • img

About

Language translation Command in Discord using Papago by Naver

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published