Questions tagged [fixer.io]
29 questions
2
votes
1 answer
How to solve API key error in GET parameters?
I am getting error in Lecture 4 - CS50's Web Programming with Python and JavaScript 2018
I want to figure it out but I don't know how to
My code is:
import requests
base = input("First currency: ")
other = input("Second currency: ")
res =…

Kunal Prakash
- 41
- 5
2
votes
1 answer
Fixer.io: is there any way to get the currency description from a symbol?
I am implementing an app using the Fixer.io API.
I wanted to retrieve the following:
currency description from a symbol (e.g. from EUR get EURO)
currency icon from a symbol
Is there any way to do so?
EDIT:
To obtain the description I am thinking…

mm24
- 9,280
- 12
- 75
- 170
1
vote
1 answer
Calling an API fails when deployed with Netlify, works fine when served locally (Reactjs website)
I am building a react js website where I have to call a currency converter API.
Calling that API works perfectly when served locally (on localhost), but once I deploy it to Netlify, it fails from working.
ConvertCurrency = async (from, to, amount)…

Byusa
- 2,279
- 1
- 16
- 21
1
vote
3 answers
How do I parse an array using RestTemplate in Spring Framework?
I've this piece of JSON data which comes through Fixer API for currency exchange.
http://data.fixer.io/api/latest?access_key=API_KEY&symbols=USD,INR&format=1
{
"success":true,
"timestamp":1593947225,
"base":"EUR",
"date":"2020-07-05",
…

Taleb Ibrahim
- 82
- 1
- 8
1
vote
0 answers
How can I use Json.NET to deserialise exchange rates from responses from fixer.io?
I am writing an app that stores currency rates and I am unsure how to use Json.NET to deserialise the response from fixer.io.
An example response is:
{
"success":true,
"timestamp":1570122547,
"base":"EUR",
"date":"2019-10-03",
…

Vinyl Warmth
- 2,226
- 3
- 25
- 50
1
vote
1 answer
TypeError: the JSON object must be str, not 'bytes' - Python - fixer.io
I have this code:
from flask import Flask, flash, redirect, render_template, request, session, abort
import os
import json
from urllib.request import urlopen
tmpl_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'templates')
app =…

NeoVe
- 3,857
- 8
- 54
- 134
1
vote
1 answer
Setting up Fixer.io, Python
I am trying to use the fixer.io API but I can't understand how to submit my access key!
I have been trying with these code snippets: https://pypi.org/project/fixerio/
For example:
from fixerio import Fixerio
fxrio = Fixerio()
fxrio.latest()
but…

Marcel
- 31
- 3
1
vote
0 answers
Fixer IO Sharp Api response "Could not get CurrencyResult for one or more reasons"
I am trying to get the latest exchange rates from Fixer IO Sharp but have been getting this error for the last week or so:
"Could not get CurrencyResult for one or more reasons"
The code was running fine before that.
Here is how, I am making API…

Abhijit
- 141
- 1
- 9
1
vote
1 answer
how to echo fixer.io json php
Hi I'm trying get a json from fixer.io and then for each rates echo it but cant get it to work.
the code are

Johan Skott
- 11
- 1
1
vote
2 answers
Getting JSON exchange rate from fixer.io to HTML
I'm trying to get the current USD to EUR rate from fixer.io into a single line in a HTML file and replace the "." in the USD value with a ",".
Can somebody help me?
LINK: https://api.fixer.io/latest?symbols=USD
{
"base": "EUR",
"date":…

TohBey
- 13
- 4
1
vote
1 answer
Wrong date on api fixer io for exchange
I use on my website an api for exchange from api fixer io but it gives me the exchange from yesterday! My code is
$content = file_get_contents("http://api.fixer.io/latest");
$content = json_decode($content, TRUE);
Did anyone have this problem?

Cipryst
- 223
- 1
- 13
0
votes
1 answer
Currency converter data manipulation not working
I am trying to create a currency converter application similar to the one that Google has i.e
My challenge is that the data I have to work with which comes from fixer.io needs to be reworked in order to accomplish the above Google converter. I can…

skydev
- 1,867
- 9
- 37
- 71
0
votes
1 answer
Fixerio access_key is an unexpected argument
Couldn't find an answer online. Hope you can help.
Im running this simple code which I've got from Fixer.io (https://fixerio.readthedocs.io/en/latest/)
from fixerio import Fixerio
API_KEY = '3655f3.......'
fxrio =…

Alexander Ka
- 259
- 1
- 2
- 11
0
votes
1 answer
how it works this currency converter api, get rate?
I'm trying to use this api (currency exchange api). This returns something like this:
{
"from":"USD",
"to":"HKD",
"rate":7.7950999999999996958877090946771204471588134765625
}
I send the request with file_get_contents() and this seems to…

WordPresser
- 1
- 1
0
votes
1 answer
I have a problem to showing currency rates in Textview in android studio
i am unable to show currency rates in text view i want to show currency rate then i have to calculate its value in Saudi riyal and Arab emirates Durham i am using only 11 currencies
i am solving it from 3 days but its not working in any way
…

Kashif Awan
- 13
- 4