Created
January 11, 2017 06:58
-
-
Save appgiga-code/edea9142a491d56264459ee5b4f95d6d to your computer and use it in GitHub Desktop.
RapidAPIの基本サンプル
This file contains 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
rapid.call('【使いたいサービス】', '【使いたいAPI】', { | |
// ここにオプションを記述 | |
}).on('success', (data)=>{ | |
// データの取得に成功した時の処理 | |
}).on('error', (err)=>{ | |
// 取得に失敗した時の処理 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment