jdionicio

jdionicio / FactorMoneda / 0.1.0

FactorMoneda

Royalty Free
Language
Java
Metrics
API Calls - 45 Avg call duration - N/A
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.
This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks, however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls.

Run an Example

Input
Output
[
  "idFactor:1,pais:ARABIA SAUDITA,moneda:RIYAL,codigo:SAR,equivalencia:0.266600",
  "idFactor:2,pais:ARGELIA,moneda:DINAR,codigo:DZD,equivalencia:0.010300",
  "idFactor:3,pais:ARGENTINA,moneda:PESO ,codigo:ARS,equivalencia:0.113400",
  "idFactor:4,pais:AUSTRALIA,moneda:DOLAR,codigo:AUD,equivalencia:0.764200",
  "idFactor:5,pais:BAHAMAS,moneda:DOLAR,codigo:BSD,equivalencia:1.000000",
  "idFactor:6,pais:BARBADOS,moneda:DOLAR,codigo:BBD,equivalencia:0.500000",
  "idFactor:7,pais:BELICE,moneda:DOLAR,codigo:BZD,equivalencia:0.501300",
  "idFactor:8,pais:BERMUDA,moneda:DOLAR,codigo:BMD,equivalencia:1.000000",
  "idFactor:9,pais:BOLIVIA,moneda:BOLIVIANO,codigo:BOB,equivalencia:0.144900",
  "idFactor:10,pais:BRASIL,moneda:REAL ,codigo:BRL,equivalencia:0.311100",
  "idFactor:11,pais:CANADA,moneda:DOLAR,codigo:CAD,equivalencia:0.789600",
  "idFactor:12,pais:CHILE,moneda:PESO,codigo:CLP,equivalencia:0.001600",
  "idFactor:13,pais:CHINA,moneda:YUAN,codigo:CNY,equivalencia:0.161350",
  "idFactor:14,pais:COLOMBIA,moneda:PESO (2),codigo:COP,equivalencia:0.384670",
  "idFactor:15,pais:COREA DEL SUR,moneda:WON (2),codigo:KRW,equivalencia:0.901150",
  "idFactor:16,pais:COSTA RICA,moneda:COLON,codigo:CRC,equivalencia:0.001870",
  "idFactor:17,pais:CUBA,moneda:PESO,codigo:CUP,equivalencia:1.000000",
  "idFactor:18,pais:DINAMARCA,moneda:CORONA,codigo:DKK,equivalencia:0.143800",
  "idFactor:19,pais:ECUADOR,moneda:DOLAR,codigo:ECS,equivalencia:1.000000",
  "idFactor:20,pais:EGIPTO,moneda:LIBRA,codigo:EGP,equivalencia:0.131100",
  "idFactor:21,pais:EL SALVADOR,moneda:COLON,codigo:SVC,equivalencia:0.114300",
  "idFactor:22,pais:EMIRATOS ARABES UNIDOS,moneda:DIRHAM,codigo:AED,equivalencia:0.272300",
  "idFactor:23,pais:ESTADOS UNIDOS DE AMERICA,moneda:DOLAR,codigo:USD,equivalencia:1.000000",
  "idFactor:24,pais:FEDERACION RUSA ,moneda:RUBLO,codigo:RUB,equivalencia:0.017190",
  "idFactor:25,pais:FIDJI,moneda:DOLAR,codigo:FJD,equivalencia:0.485100",
  "idFactor:26,pais:FILIPINAS,moneda:PESO,codigo:PHP,equivalencia:0.022390",
  "idFactor:27,pais:GRAN BRETA�A,moneda:LIBRA ESTERLINA,codigo:GBP,equivalencia:1.484700",
  "idFactor:28,pais:GUATEMALA,moneda:QUETZAL,codigo:GTQ,equivalencia:0.130700",
  "idFactor:29,pais:GUYANA,moneda:DOLAR,codigo:GYD,equivalencia:0.004870",
  "idFactor:30,pais:HONDURAS,moneda:LEMPIRA,codigo:HNL,equivalencia:0.045900",
  "idFactor:31,pais:HONG KONG,moneda:DOLAR,codigo:HKD,equivalencia:0.128990",
  "idFactor:32,pais:HUNGRIA,moneda:FORINT,codigo:HUF,equivalencia:0.003570",
  "idFactor:33,pais:INDIA,moneda:RUPIA,codigo:INR,equivalencia:0.016050",
  "idFactor:34,pais:INDONESIA,moneda:RUPIA (2),codigo:IDR,equivalencia:0.076510",
  "idFactor:35,pais:IRAK,moneda:DINAR,codigo:IQD,equivalencia:0.000830",
  "idFactor:36,pais:ISRAEL,moneda:SHEKEL,codigo:ILS,equivalencia:0.251270",
  "idFactor:37,pais:JAMAICA,moneda:DOLAR,codigo:JMD,equivalencia:0.008700",
  "idFactor:38,pais:JAPON,moneda:YEN,codigo:JPY,equivalencia:0.008340",
  "idFactor:39,pais:KENIA,moneda:CHELIN,codigo:KES,equivalencia:0.010800",
  "idFactor:40,pais:KUWAIT,moneda:DINAR,codigo:KWD,equivalencia:3.323000",
  "idFactor:41,pais:MALASIA,moneda:RINGGIT,codigo:MYR,equivalencia:0.269900",
  "idFactor:42,pais:MARRUECOS,moneda:DIRHAM,codigo:MAD,equivalencia:0.100500",
  "idFactor:43,pais:NICARAGUA,moneda:CORDOBA,codigo:NIO,equivalencia:0.037100",
  "idFactor:44,pais:NIGERIA,moneda:NAIRA,codigo:NGN,equivalencia:0.005020",
  "idFactor:45,pais:NORUEGA,moneda:CORONA,codigo:NOK,equivalencia:0.124200",
  "idFactor:46,pais:NUEVA ZELANDA,moneda:DOLAR,codigo:NZD,equivalencia:0.749900",
  "idFactor:47,pais:PANAMA,moneda:BALBOA,codigo:PAB,equivalencia:1.000000",
  "idFactor:48,pais:PARAGUAY,moneda:GUARANI (2),codigo:PYG,equivalencia:0.208400",
  "idFactor:49,pais:PERU,moneda:NUEVO SOL,codigo:PEN,equivalencia:0.322950",
  "idFactor:50,pais:POLONIA,moneda:ZLOTY,codigo:PLN,equivalencia:0.263800",
  "idFactor:51,pais:PUERTO RICO,moneda:DOLAR,codigo:USD,equivalencia:1.000000",
  "idFactor:52,pais:REP. CHECA,moneda:CORONA,codigo:CSK,equivalencia:0.038980",
  "idFactor:53,pais:REP. DE SUDAFRICA,moneda:RAND,codigo:ZAR,equivalencia:0.082370",
  "idFactor:54,pais:REP. DOMINICANA,moneda:PESO,codigo:DOP,equivalencia:0.022200",
  "idFactor:55,pais:RUMANIA,moneda:LEU,codigo:RON,equivalencia:0.243500",
  "idFactor:56,pais:SINGAPUR,moneda:DOLAR,codigo:SGD,equivalencia:0.728900",
  "idFactor:57,pais:SUECIA,moneda:CORONA,codigo:SEK,equivalencia:0.116010",
  "idFactor:58,pais:SUIZA,moneda:FRANCO,codigo:CHF,equivalencia:1.029400",
  "idFactor:59,pais:TAILANDIA,moneda:BAHT,codigo:THB,equivalencia:0.030720",
  "idFactor:60,pais:TAIWAN,moneda:NUEVO DOLAR,codigo:TWD,equivalencia:0.032000",
  "idFactor:61,pais:TRINIDAD Y TOBAGO,moneda:DOLAR,codigo:TTD,equivalencia:0.156900",
  "idFactor:62,pais:TURQUIA,moneda:LIRA,codigo:TRY,equivalencia:0.384800",
  "idFactor:63,pais:UCRANIA,moneda:HRYVNIA,codigo:UAH,equivalencia:0.042700",
  "idFactor:64,pais:UNION MONETARIA EUROPEA,moneda:EURO (3),codigo:EUR,equivalencia:1.074200",
  "idFactor:65,pais:URUGUAY,moneda:PESO ,codigo:UYU,equivalencia:0.038900",
  "idFactor:66,pais:VENEZUELA,moneda:BOLIVAR FUERTE,codigo:VEF,equivalencia:0.158900",
  "idFactor:67,pais:VIETNAM,moneda:DONG (2),codigo:VND,equivalencia:0.046560"
]

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



    algo run jdionicio/FactorMoneda/0.1.0 -d '"Mes"' --timeout 300
  
CLI Docs