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
| /** | |
| * Created by eniv on 2015. 12. 27.. | |
| */ | |
| let fetch = require('node-fetch'); | |
| let _ = require('lodash'); | |
| async function getCurrency(from, to) { | |
| let res = await fetch('http://finance.yahoo.com/webservice/v1/symbols/allcurrencies/quote?format=json'); | |
| let currency_data = await res.json(); |
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
| #!/usr/bin/env perl | |
| use common::sense; | |
| use Web::Query; | |
| use Readonly; | |
| use Coro; | |
| use Coro::LWP; | |
| use Coro::Semaphore; | |
| use WWW::Mechanize; |