- 📚 Table of Contents
- 📍Overview
- 🔮 Features
- ⚙️ Project Structure
- 🧩 Modules
- 🏎💨 Getting Started
- 🗺 Roadmap
- 🤝 Contributing
- 🪪 License
- 📫 Contact
- 🙏 Acknowledgments
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.
[📌 INSERT-PROJECT-FEATURES]
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
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 |
Before you begin, ensure that you have the following prerequisites installed:
[📌 INSERT-PROJECT-PREREQUISITES]
- Clone the kma_api repository:
git clone https://github.com/junyjeon/kma_api
- Change to the project directory:
cd kma_api
- Install the dependencies:
pip install -r requirements.txt
python main.py
#run tests
- [📌 COMPLETED-TASK]
- [📌 INSERT-TASK]
- [📌 INSERT-TASK]
Contributions are always welcome! Please follow these steps:
- Fork the project repository. This creates a copy of the project on your account that you can modify without affecting the original project.
- Clone the forked repository to your local machine using a Git client like Git or GitHub Desktop.
- Create a new branch with a descriptive name (e.g.,
new-feature-branch
orbugfix-issue-123
).
git checkout -b new-feature-branch
- Make changes to the project's codebase.
- 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.'
- Push your changes to your forked repository on GitHub using the following command
git push origin new-feature-branch
- 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.
This project is licensed under the [📌 INSERT-LICENSE-TYPE]
License. See the LICENSE file for additional info.
[📌 INSERT-DESCRIPTION]