<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>API | Hyunsol</title><link>https://hyunsolchoi.github.io/hyunsol/en/tag/api/</link><atom:link href="https://hyunsolchoi.github.io/hyunsol/en/tag/api/index.xml" rel="self" type="application/rss+xml"/><description>API</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Sun, 22 Sep 2024 00:00:00 +0000</lastBuildDate><image><url>https://hyunsolchoi.github.io/hyunsol/media/icon_hu19837290bca79a23a66ee2502d2b36bb_16281_512x512_fill_lanczos_center_3.png</url><title>API</title><link>https://hyunsolchoi.github.io/hyunsol/en/tag/api/</link></image><item><title>Using Riot API with WPF</title><link>https://hyunsolchoi.github.io/hyunsol/en/post/riot-api/</link><pubDate>Sun, 22 Sep 2024 00:00:00 +0000</pubDate><guid>https://hyunsolchoi.github.io/hyunsol/en/post/riot-api/</guid><description>&lt;div style="text-align: justify; word-break: normal; text-justify: inter-word;">
&lt;p>
In February 2022, I studied WPF and API in advance to prepare for the Windows programming lecture scheduled to take.
&lt;/p>
&lt;h3 id="goal">Goal&lt;/h3>
&lt;p>
The goal was to use the &lt;a href="https://developer.riotgames.com/apis">Riot API&lt;/a> to retrieve user information by ID, providing the information in JSON format.
&lt;/p>
&lt;h3 id="diffrences">Diffrences&lt;/h3>
&lt;p>
A website that implements the feature is &lt;a href="https://www.op.gg/">OP.GG&lt;/a>. However, I used WPF to implement that feature. Therefore, you don't need any web browsers, and you can use it only with programs. &lt;br>&lt;br>
&lt;p>And there are no restrictions received from any web server like op.gg, refreshing was more free within the range supported by the API and faster.&lt;/p>
&lt;/p>
&lt;h3 id="result">Result&lt;/h3>
&lt;p>
The implementation of UI is not perfect, but I successfully implemented information inquiry through ID.
&lt;/p>
&lt;/div></description></item><item><title>YouTube Searching with specific country code</title><link>https://hyunsolchoi.github.io/hyunsol/en/post/youtube-searching/</link><pubDate>Sun, 22 Sep 2024 00:00:00 +0000</pubDate><guid>https://hyunsolchoi.github.io/hyunsol/en/post/youtube-searching/</guid><description>&lt;div style="text-align: justify; word-break: normal; text-justify: inter-word;">
&lt;p>
YouTube's search function uses the user's country code to search mainly for videos in the region. Therefore, even if you want to search for foreign videos, the user's national video is recommended first.
&lt;/p>
&lt;h3 id="goal">GOAL&lt;/h3>
&lt;p>
The goal is to implement a feature that searches for user-inputted keywords in a specific language and recommends videos from a specific country.
&lt;/p>
&lt;h3 id="apis">APIs&lt;/h3>
&lt;p>
First, I used the &lt;a href="https://developers.naver.com/docs/papago/README.md">Papago API&lt;/a> to translate the words or sentences entered by the user into the specified language(It's not currently supported). The language detection feature identifies the language entered by the user and translates it into the specified language.
&lt;p>Secondly, the &lt;a href="https://developers.google.com/youtube">YouTube API&lt;/a> is utilized. The API is requested using the country code of the specified language and the translated text. The returned data is then presented as a list in the interface, including the video title, thumbnail, and video link.&lt;/p>
&lt;/p>
&lt;h3 id="result">Result&lt;/h3>
&lt;p>
This allows users to search for videos from their desired country in the language of their choice, without being limited by their own country.
&lt;/p>
&lt;h3 id="attachment">Attachment&lt;/h3>
&lt;p>&lt;a href="https://hyunsolchoi.github.io/hyunsol/hyunsol/uploads/report.pdf" target="_blank">Download the report in Korean&lt;/a>&lt;/p>
&lt;/div></description></item></channel></rss>