Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More โ†’
Socket
Sign inDemoInstall
Socket

@creatrip/kakao-sdk

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@creatrip/kakao-sdk - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

1

api/local/search/index.d.ts

@@ -0,3 +1,4 @@

export * from './keyword/keyword.enum';
export * from './keyword/keyword.fetch';
export * from './keyword/keyword.input';
export * from './keyword/keyword.output';

@@ -17,2 +17,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./keyword/keyword.enum"), exports);
__exportStar(require("./keyword/keyword.fetch"), exports);

@@ -19,0 +20,0 @@ __exportStar(require("./keyword/keyword.input"), exports);

@@ -5,3 +5,5 @@ import { SearchKeywordInput } from './keyword.input';

* ํ‚ค์›Œ๋“œ๋กœ ์žฅ์†Œ ๊ฒ€์ƒ‰ํ•˜๊ธฐ
*
* @link https://developers.kakao.com/docs/latest/ko/local/dev-guide#search-by-keyword
*/
export declare function searchKeyword(restApiKey: string, input: SearchKeywordInput): Promise<SearchKeywordOutput>;

21

api/local/search/keyword/keyword.fetch.js

@@ -6,2 +6,4 @@ "use strict";

* ํ‚ค์›Œ๋“œ๋กœ ์žฅ์†Œ ๊ฒ€์ƒ‰ํ•˜๊ธฐ
*
* @link https://developers.kakao.com/docs/latest/ko/local/dev-guide#search-by-keyword
*/

@@ -14,7 +16,7 @@ async function searchKeyword(restApiKey, input) {

}
if (input.x != undefined) {
url.searchParams.append('x', String(input.x));
if (input.longitude != undefined) {
url.searchParams.append('x', String(input.longitude));
}
if (input.y != undefined) {
url.searchParams.append('y', String(input.y));
if (input.latitude != undefined) {
url.searchParams.append('y', String(input.latitude));
}

@@ -81,4 +83,4 @@ if (input.radius != undefined) {

categoryGroupName: document.category_group_name,
x: Number(document.x),
y: Number(document.y),
longitude: Number(document.x),
latitude: Number(document.y),
phone: document.phone,

@@ -92,9 +94,2 @@ addressName: document.address_name,

}
searchKeyword('cf1b608c58d93c5b8fa9a9d9b2c1e90d', {
query: '๊ตฌ๋ฆฌ ์ฃผ์œ ์†Œ',
})
.then((output) => {
console.log(JSON.stringify(output, null, 2));
})
.catch(console.error);
//# sourceMappingURL=keyword.fetch.js.map

@@ -18,3 +18,3 @@ import { CategoryGroupCode } from './keyword.enum';

*/
x?: number;
longitude?: number;
/**

@@ -24,3 +24,3 @@ * ์ค‘์‹ฌ ์ขŒํ‘œ์˜ Y ํ˜น์€ ์œ„๋„(latitude) ๊ฐ’ \

*/
y?: number;
latitude?: number;
/**

@@ -27,0 +27,0 @@ * ์ค‘์‹ฌ ์ขŒํ‘œ๋ถ€ํ„ฐ์˜ ๋ฐ˜๊ฒฝ๊ฑฐ๋ฆฌ. ํŠน์ • ์ง€์—ญ์„ ์ค‘์‹ฌ์œผ๋กœ ๊ฒ€์ƒ‰ํ•˜๋ ค๊ณ  ํ•  ๊ฒฝ์šฐ ์ค‘์‹ฌ์ขŒํ‘œ๋กœ ์“ฐ์ผ x,y์™€ ํ•จ๊ป˜ ์‚ฌ์šฉ \

@@ -88,3 +88,3 @@ import { CategoryGroupCode } from './keyword.enum';

*/
x: number;
longitude: number;
/**

@@ -94,3 +94,3 @@ * Y ์ขŒํ‘œ๊ฐ’, ๊ฒฝ์œ„๋„์ธ ๊ฒฝ์šฐ latitude(์œ„๋„)

*/
y: number;
latitude: number;
/**

@@ -97,0 +97,0 @@ * ์žฅ์†Œ ์ƒ์„ธํŽ˜์ด์ง€ URL

{
"name": "@creatrip/kakao-sdk",
"version": "0.1.0",
"version": "0.1.1",
"description": "Kakao SDK for Node.js",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc