小编Seo*_*ark的帖子

How can I hide api key in bixby-studio?

How can I hide api key in bixby-studio?

I want to make bixby capsule Using API data. but I can't find how to hide API key

this is example code at code/requestmovie.js

module.exports.function = function requestmovie () {

  const http = require('http');
  const console = require("console")

  // here !!
  let url = 'url with api key'

  let response = http.getUrl(url, {format: 'xmljs'})
  let MovieList = {}
  let lists = response.movieList

  MovieList.firstmovietitle = lists[0].movieNm

  return MovieList
}
Run Code Online (Sandbox Code Playgroud)

I want to hide …

bixby

3
推荐指数
1
解决办法
93
查看次数

标签 统计

bixby ×1