INFORMACION GENERAL
Conversión de Monedas
1 min
tab request url https api mobbex com p currency convert name conversi n de monedas con api keys method get request pathparameters queryparameters kind required name from type string description moneda desde la cual se quiere convertir valores admitidos usd kind required name to type string description moneda a la cual se quiere convertir valores admitidos ars kind required name total type number description valor a convertir decimales separados por punto headerparameters kind required name x api key type string description clave api de su aplicaci n kind required name x access token type string description token de acceso bodydataparameters formdataparameters results languages id 6errqhjml62jwkv9tqhq0 code n result true n data n from usd n to ars n total 100 n result 9761 n rate 97 61 n n language 200 selectedlanguageid 6errqhjml62jwkv9tqhq0 examples languages id ybzenjouh4ez40ox26sty code var client new restclient https api mobbex com p currency convert?from usd to ars total 100 ; r nclient timeout 1; r nvar request new restrequest method get ; r nrequest addheader x api key zj8lftbx6ba8d611e9io13fdzawj0qmko1hn1yij ; r nrequest addheader x access token d31f0721 2f85 44e7 bcc6 15e19d1a53cc ; r nirestresponse response client execute request ; r nconsole writeline response content ; language csharp id uajctpdpjsejxinanlalu code var xhr new xmlhttprequest ; nxhr withcredentials true; n nxhr addeventlistener readystatechange function n if this readystate 4 n console log this responsetext ; n n ; n nxhr open get https api mobbex com p currency convert?from usd to ars total 100 ; nxhr setrequestheader x api key zj8lftbx6ba8d611e9io13fdzawj0qmko1hn1yij ; nxhr setrequestheader x access token d31f0721 2f85 44e7 bcc6 15e19d1a53cc ; n nxhr send ; language javascript id mwm7wvuwhbuyzwqpos527 code ?php r n r n curl curl init ; r n r ncurl setopt array curl array r n curlopt url https api mobbex com p currency convert?from usd to ars total 100 r n curlopt returntransfer true r n curlopt encoding r n curlopt maxredirs 10 r n curlopt timeout 0 r n curlopt followlocation true r n curlopt http version curl http version 1 1 r n curlopt customrequest get r n curlopt httpheader array r n x api key zj8lftbx6ba8d611e9io13fdzawj0qmko1hn1yij r n x access token d31f0721 2f85 44e7 bcc6 15e19d1a53cc r n r n ; r n r n response curl exec curl ; r n r ncurl close curl ; r necho response; r n language php selectedlanguageid ybzenjouh4ez40ox26sty description currentnewparameter label query parameter value queryparameters