This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://docs.aws.amazon.com/ja_jp/sdk-for-javascript/v2/developer-guide/getting-started-nodejs.html | |
// original: aws-doc-sdk-examples/javascript/example_code/nodegetstarted/sample.js | |
// Load the SDK and UUID | |
const AWS = require('aws-sdk'); | |
const uuid = require('uuid'); | |
// Create unique bucket name | |
const bucketName = 'node-sdk-sample-' + uuid.v4(); | |
// Create name for uploaded object key |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const RSS = require('rss'); | |
const express = require('express'); | |
const router = express.Router(); | |
const iconv = require('iconv-lite'); | |
const client = require('cheerio-httpcli'); | |
/** | |
* メルカリの出品を通知する | |
*/ | |
router.get('/:keyword', async function(req, res) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const RSS = require('rss'); | |
const express = require('express'); | |
const router = express.Router(); | |
const iconv = require('iconv-lite'); | |
const MWSClient = require('mws-api'); | |
/** | |
* カート価格を取得する | |
*/ | |
router.get('/:id', async function(req, res) { |