Author

Topic: BTC to USD (or similar currency) (Read 929 times)

member
Activity: 72
Merit: 11
August 27, 2016, 07:41:34 AM
#7
Please change the blue background solid color from the website.Literally hurting my eyes.I kind of figured out 2757 ILS = 1 Bitcoin.So basically you sell bitcoins,how is anyone suppose to pay you from bank transfer without using a escrow ?

The background has been changed. I'm still developing the sites. The will also be a credit card ability to pay for bitcoins and probaby cash. We are a legit company just like you buy anything on the internet without escrow you can buy with us.
legendary
Activity: 1750
Merit: 1115
Providing AI/ChatGpt Services - PM!
August 27, 2016, 02:43:43 AM
#6
ILS is Israeli currency. about 3.7 ILS worth 1 USD.
Please change the blue background solid color from the website.Literally hurting my eyes.I kind of figured out 2757 ILS = 1 Bitcoin.So basically you sell bitcoins,how is anyone suppose to pay you from bank transfer without using a escrow ?
member
Activity: 72
Merit: 11
August 26, 2016, 03:06:53 PM
#5
ILS is Israeli currency. about 3.7 ILS worth 1 USD.
legendary
Activity: 1120
Merit: 1008
CryptoTalk.Org - Get Paid for every Post!
August 26, 2016, 01:46:55 PM
#4
The above code has been implemented on my site. Check it out: https://www.spice.co.il/en/buy.php
What actually is ILS? quite confusing but it seem script is working and enough to get exchange rate.
member
Activity: 72
Merit: 11
August 26, 2016, 12:02:36 PM
#3
The above code has been implemented on my site. Check it out: https://www.spice.co.il/en/buy.php
member
Activity: 72
Merit: 11
August 25, 2016, 06:35:28 AM
#2
To whoever is interested I found out how to do it. It's still a bit crude but works:

Code:

$margin=1.05;
$nigram=0.95;

$url = "https://api.bitcoinaverage.com/ticker/ILS/";
$json = json_decode(file_get_contents($url), true);
$price = $json["last"];
?>


 







echo "";
?>
member
Activity: 72
Merit: 11
August 25, 2016, 12:58:29 AM
#1
I'm looking for a php (or javascript) function to replace BTC to USD just like the one google uses https://www.google.co.il/search?q=btc+to+usd&ie=utf-8&oe=utf-8&client=firefox-b&gfe_rd=cr&ei=IIi-V-LaPMyN8QeGkI_YBQ

This should be something that prints the USD price automatically when you enter the BTC or vice versa, not something that you have to press submit and then it gets the price for you, this I already have:

Code:
$url = "https://api.bitcoinaverage.com/ticker/ILS/";
$json = json_decode(file_get_contents($url), true);
$price = $json["last"];

It needs to be automatically. There's no need for all the currencies. Just btc to usd (I will change the currency later) that will be shown automatically.
Jump to: