Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
odsay-api-js
Advanced tools
Readme
ktour-api-js는 자바스크립트용 한국관광공사 TourApi 입니다.
ktour-api-js is open source to use Korea Tour Api for Javascript.
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<script src="<path-to>/ktour-api/ktour-api-1.1.1.js"></script>
KTourApiAppCenter.defaultCenter().setUp("<Your App Name>", "<Your Service Key>", KTourApiAppCenter.languageType.Chs);
KTourApiAppCenter.defaultCenter().call({
path: "<path>",
param: new KTourApiListParam(10, 1, {areaCode: null}),
completion: function(result, error){
console.log(result, error);
}
});
"areaCode",
"areaBasedList",
"categoryCode",
"detailCommon",
"detailImage",
"detailInfo",
"detailIntro",
"locationBasedList",
"searchFestival",
"searchKeyword",
"searchStay"
KTourApiAppCenter.defaultCenter().lang = KTourApiAppCenter.languageType.Chs
KTourApiAppCenter.languageType = {
Chs: "ChsService",
Cht: "ChtService",
Eng: "EngService",
Ger: "GerService",
Fre: "FreService",
Jpn: "JpnService",
Rus: "RusService",
Spn: "SpnService"
};
// areaCode
new KTourApiListParam(10, 1, {areaCode: null}
// areaBasedList
new KTourApiListParam(10, 1, {contentTypeId: null, cat1: null, cat2: null, cat3: null, areaCode: null, sigunguCode: null}
// categoryCode
new KTourApiListParam(10, 1, {contentTypeId: null, cat1: null, cat2: null, cat3: null}
// detailCommon
new KTourApiParam({contentId: 1342755, contentTypeId: null, defaultYN: true, firstImageYN: true, areacodeYN: true, catcodeYN: true, addrinfoYN: true, mapinfoYN: true, overviewYN: true, transGuideYN: true}
// detailImage
new KTourApiParam({contentId: 1342755, contentTypeId: 82, imageYN: true}
// detailInfo
new KTourApiParam({contentId: 1342755, contentTypeId: 82, detailYN: true}
// detailIntro
new KTourApiParam({contentId: 1342755, contentTypeId: 82, introYN: true}
// locationBasedList
new KTourApiListParam(10, 1, {contentTypeId: null, mapX: 126.981611, mapY: 37.568477, radius: 1000}
// searchFestival
new KTourApiListParam(10, 1, {contentTypeId: null, eventStartDate: null, eventEndDate: null, areaCode: null, sigunguCode: null}
// searchKeyword
new KTourApiListParam(10, 1, {keyword: "马斋", contentTypeId: null, cat1: null, cat2: null, cat3: null, areaCode: null, sigunguCode: null}
// searchStay
new KTourApiListParam(10, 1, {contentTypeId: null, areaCode: null, sigunguCode: null}
JQuery
// npm command line
npm install --save-dev ktour-api-js
// package.json
"ktour-api-js": "^1.1.1"
Steve Kim, hh963103@gmail.com
ktour-api-js is available under the MIT license. See the LICENSE file for more info.
FAQs
ODSay API to provide public transport in korea for Javascript.
The npm package odsay-api-js receives a total of 0 weekly downloads. As such, odsay-api-js popularity was classified as not popular.
We found that odsay-api-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.