gwongibeom / korean-advice-open-api

랜덤 한국어 명언 API

Home Page:https://korean-advice-open-api.vercel.app/api/advice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

한국어 명언 API 📚

Hits

영어 명언 API는 있는데 한국어 명언 API는 없어서 직접 구현한 서버리스 함수 API 입니다.

  • 랜덤으로 한국어 명언 불러오기
  • 조건으로 한국어 명언 불러오기

사용방법 ❓

랜덤 명언 불러오기

https://korean-advice-open-api.vercel.app/api/advice

위 링크로 get 요청 보내시면 됩니다.

응답 예시:

{
  "author": "에이브러햄 링컨",
  "authorProfile": "미국 16대 대통령",
  "message": "반드시 이겨야 하는 건 아니지만 진실할 필요는 있다. 반드시 성공해야 하는 건 아니지만, 소신을 가지고 살아야 할 필요는 있다."
}

기여 🤝

포크 후 /api/_advices.ts에 추가하고 싶은 명언을 추가 한 뒤 PR 보내주세요.

오픈소스 사용 정보 🙏

초기 명언 리스트 : chkim116/kadvice

로컬 실행 방법 🏃

git clone https://github.com/gwongibeom/korean-advice-open-api.git

Install the Vercel CLI:

npm i -g vercel

Then run the app at the root of the repository:

vercel dev

기여자들

Made with contrib.rocks.

About

랜덤 한국어 명언 API

https://korean-advice-open-api.vercel.app/api/advice

License:MIT License


Languages

Language:TypeScript 100.0%