Skip to content

junyjeon/Kakaotalk_Chatbot_KMA

Repository files navigation


Kakaotalk_Chatbot_KMA

📍 The Power of Kakaotalk_Chatbot_KMA: Unleashing New Possibilities!

🚀 Developed with the software and tools below.

pack idx js


📚 Table of Contents


📍Overview

The Kakaotalk_Chatbot_KMA project is a set of functions for PHP which allows developers to incorporate functionality from the Korean Meteorological Administration (KMA) API into their web services and applications.

🔮 Feautres

[📌 INSERT-PROJECT-FEATURES]


⚙️ Project Structure

repo
├── 1_accessToken_issuance.py
├── 2_Send_message.py
├── README.md
├── kakao_code.json
├── kakao_weather_message.py
├── part1.js
├── part2.py
├── test.py
└── test123.py

0 directories, 9 files

💻 Modules

Root
File Summary Module
kakao_weather_message.py This code is a program that provides clothing recommendations based on the weather data from a given location . It uses the requests and BeautifulSoup libraries to retrieve the weather data from an API , and then uses the data to generate a clothing recommendation . kakao_weather_message.py
2_Send_message.py This code uses the OpenAI , KakaoTalk , and KMA APIs to generate a weather forecast and clothing recommendation for the user . It also checks the fine dust level and provides a recommendation based on the level . Finally , it sends the 2_Send_message.py
test.py This code imports the requests , json , datetime , and openai libraries , sets an OpenAI API key , and obtains an access token from the KakaoTalk API . It then uses the KMA API and fine dust level API test.py
test123.py This code uses the requests library to access the Korean Meteorological Administration 's API , retrieves the temperature data for a given date and time , and plots the data in a graph . test123.py
part1.js This code is a MainActivity class that extends AppCompatActivity . It uses a GpsTracker to get the latitude and longitude of the user 's current location . It then uses the getCurrentAddress ( ) method to get the address of the part1.js
1_accessToken_issuance.py This code imports the requests library and uses it to generate an authorization code and access token for a Kakao application . It requires a client ID , client secret , and redirect URI to generate the authorization code , and then uses the authorization code to 1_accessToken_issuance.py
part2.py This code is a Java class that retrieves weather data from an API and parses it into a readable format . It takes in parameters such as the date , time , longitude , and latitude , and returns the current weather and temperature . part2.py

🚀 Getting Started

✅ Prerequisites

Before you begin, ensure that you have the following prerequisites installed:

[📌 INSERT-PROJECT-PREREQUISITES]

💻 Installation

  1. Clone the kma_api repository:
git clone https://github.com/junyjeon/kma_api
  1. Change to the project directory:
cd kma_api
  1. Install the dependencies:
pip install -r requirements.txt

🤖 Using kma_api

python main.py

🧪 Running Tests

#run tests

🛠 Future Development

  • [📌 COMPLETED-TASK]
  • [📌 INSERT-TASK]
  • [📌 INSERT-TASK]

🤝 Contributing

Contributions are always welcome! Please follow these steps:

  1. Fork the project repository. This creates a copy of the project on your account that you can modify without affecting the original project.
  2. Clone the forked repository to your local machine using a Git client like Git or GitHub Desktop.
  3. Create a new branch with a descriptive name (e.g., new-feature-branch or bugfix-issue-123).
git checkout -b new-feature-branch
  1. Make changes to the project's codebase.
  2. Commit your changes to your local branch with a clear commit message that explains the changes you've made.
git commit -m 'Implemented new feature.'
  1. Push your changes to your forked repository on GitHub using the following command
git push origin new-feature-branch
  1. Create a pull request to the original repository. Open a new pull request to the original project repository. In the pull request, describe the changes you've made and why they're necessary. The project maintainers will review your changes and provide feedback or merge them into the main branch.

🪪 License

This project is licensed under the [📌 INSERT-LICENSE-TYPE] License. See the LICENSE file for additional info.


🙏 Acknowledgments

[📌 INSERT-DESCRIPTION]


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published