|
joniboini
Legendary
Offline
Activity: 2366
Merit: 1805
|
|
June 30, 2019, 05:08:32 AM |
|
The images that you posted above shows as invalid image for me. I use Brave with dnscrypt btw. Not sure if the problem is on my end or the code.
|
| CHIPS.GG | | | ▄▄███████▄▄ ▄████▀▀▀▀▀▀▀████▄ ▄███▀░▄░▀▀▀▀▀░▄░▀███▄ ▄███░▄▀░░░░░░░░░▀▄░███▄ ▄███░▄░░░▄█████▄░░░▄░███▄ ███░▄▀░░░███████░░░▀▄░███ ███░█░░░▀▀▀▀▀░░░▀░░░█░███ ███░▀▄░▄▀░▄██▄▄░▀▄░▄▀░███ ▀███░▀░▀▄██▀░▀██▄▀░▀░███▀ ▀███░▀▄░░░░░░░░░▄▀░███▀ ▀███▄░▀░▄▄▄▄▄░▀░▄███▀ ▀████▄▄▄▄▄▄▄████▀ █████████████████████████ | | ▄▄███████▄▄ ▄███████████████▄ ▄█▀▀▀▄█████████▄▀▀▀█▄ ▄██████▀▄█▄▄▄█▄▀██████▄ ▄████████▄█████▄████████▄ ████████▄███████▄████████ ███████▄█████████▄███████ ███▄▄▀▀█▀▀█████▀▀█▀▀▄▄███ ▀█████████▀▀██▀█████████▀ ▀█████████████████████▀ ▀███████████████████▀ ▀████▄▄███▄▄████▀ ████████████████████████ | | 3000+ UNIQUE GAMES | | | 12+ CURRENCIES ACCEPTED | | | VIP REWARD PROGRAM | | ◥ | Play Now |
|
|
|
OmegaStarScream
Staff
Legendary
Offline
Activity: 3654
Merit: 6398
|
|
June 30, 2019, 06:42:13 AM |
|
The problem should be from his end. For suggestions, do you have any plans for the other features other than the one for checking balance? Like: https://btc-priceimg.herokuapp.com/img/10.00/00f
I understand that yours is supposed to be for SegWit support and the above command is kinda irrelevant but, having all-in-one tool can be useful. I also think that you should make the font in the image a little bit bigger.
|
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3010
Merit: 7419
Top Crypto Casino
|
|
June 30, 2019, 11:08:49 AM Last edit: June 30, 2019, 11:56:34 AM by TryNinja |
|
The images that you posted above shows as invalid image for me. I use Brave with dnscrypt btw. Not sure if the problem is on my end or the code.
Can you try again? Maybe it was because I enables HTTPS but forgot to change my urls. (also try ctrl + f5 to clear your browser’s cache) It’s showing up fine for me. For suggestions, do you have any plans for the other features other than the one for checking balance? Like: https://btc-priceimg.herokuapp.com/img/10.00/00f
I understand that yours is supposed to be for SegWit support and the above command is kinda irrelevant but, having all-in-one tool can be useful. I also think that you should make the font in the image a little bit bigger. It’s not irrelevant. I can work on that. It also makes sense since I named it "Bitcoin Price Image".
|
|
|
|
|
klaaas
|
|
June 30, 2019, 01:28:47 PM |
|
Works good over here, nice. Maybe a euro to btc version could be added. Curious what is used as the source to pull the price from ?
|
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3010
Merit: 7419
Top Crypto Casino
|
|
June 30, 2019, 02:42:24 PM |
|
Works good over here, nice. Maybe a euro to btc version could be added. Curious what is used as the source to pull the price from ?
I'm using bitcoinaverage.com's API. Works good over here, nice. Maybe a euro to btc version could be added. Curious what is used as the source to pull the price from ?
Done. Now there is an ticker option (default is USD). Since I noticed I would need to start adding a lot of params (like/this/and/it/would/be/huge/and/weird), I've added it as a query param (?ticker=USD). Example:https://btc.ninjastic.space/price/1250/ff0000?ticker=EURYou can use USD, EUR, AUR, BRL, etc...
|
|
|
|
bitmover
Legendary
Offline
Activity: 2478
Merit: 6285
bitcoindata.science
|
|
July 01, 2019, 03:45:59 AM |
|
Nice job. Why don't you add instructions about how to use your Price Image script in https://btc.ninjastic.space/ (it may even be your OP here) It would be nice to have instructions and more detailed information, then just enter commands based on this thread.
|
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3010
Merit: 7419
Top Crypto Casino
|
|
July 04, 2019, 11:53:14 PM |
|
Bump
|
|
|
|
Stedsm
Legendary
Offline
Activity: 3052
Merit: 1273
|
|
July 10, 2019, 05:28:23 AM |
|
Checked this - https://btc.ninjastic.space/balance/bc1q3zedphng6fckmal76g89n6e3ludvw4hyfwpysnBut received a completely blank (black) page there without showing any amount whereas I've got some change amount in it. Is there any minimum value set that will only be shown, for e.g.; 1 mBTC or more? EDIT: My mistake I didn't add the hex color I wanted to see it in. It worked out well, great job. https://btc.ninjastic.space/balance/bc1q3zedphng6fckmal76g89n6e3ludvw4hyfwpysn/ff0000Did the job for me. I'm glad we don't need a specific amount of BTC in our wallet to be able to use this and it has given significance to SegWit which I don't see in most of the explorers too (blockchain.info is still not allowing SegWit addresses to let us watch our transactions and balance in their explorer). P.S.: Can you also create a BTC-to-ALT provider which could show our balance's value in our choice of alt based on a specific exchange?
|
| .SHUFFLE.COM.. | ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ | ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ | . ...Next Generation Crypto Casino... |
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3010
Merit: 7419
Top Crypto Casino
|
|
July 10, 2019, 05:57:09 AM |
|
P.S.: Can you also create a BTC-to-ALT provider which could show our balance's value in our choice of alt based on a specific exchange?
I’ll take a look at this tomorrow. So... a specific address balance in your chosen alt, right? E.g the address 1Ninja... balance (1 BTC) in ETH?
|
|
|
|
Stedsm
Legendary
Offline
Activity: 3052
Merit: 1273
|
|
July 10, 2019, 02:37:16 PM |
|
P.S.: Can you also create a BTC-to-ALT provider which could show our balance's value in our choice of alt based on a specific exchange?
I’ll take a look at this tomorrow. So... a specific address balance in your chosen alt, right? E.g the address 1Ninja... balance (1 BTC) in ETH? Yeah, you got that right. Not just ETH, but a few more or even all of the alts (just like you did with the Fiat currencies as I can watch almost any Fiat currency's conversion to BTC). One last request, can you also add alts in opposite and put the price in alts and see how much BTC is it worth (like we put price in fiat)? Can be said vice-versa of what I asked first.
|
| .SHUFFLE.COM.. | ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ | ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ | . ...Next Generation Crypto Casino... |
|
|
|
|
bL4nkcode
Copper Member
Legendary
Offline
Activity: 2142
Merit: 1307
Limited in number. Limitless in potential.
|
|
September 26, 2020, 01:45:11 AM |
|
I got here from searching, but one thing I observed is this (below). An error, and should be "0.023"ish (in decimal, base in coingecko rate) instead of 266*****.** BTC. USD to BTC https://btc.ninjastic.space/price/AMOUNT-IN-USD/HEX-COLOR?size=14
https://btc.ninjastic.space/price/250/ff0000?size=14
250 USD = Same thing with the one with other ticker parameter https://btc.ninjastic.space/price/250/ff0000?size=16&ticker=EUR
250 USD =
|
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3010
Merit: 7419
Top Crypto Casino
|
|
September 26, 2020, 12:07:04 PM |
|
~
I changed the API and some things got messed up. Those links were actually returning the BTC value in USD (but with "BTC" at the end). That's fixed for now (USD > BTC), but I should honestly just rewrite the whole thing. Looks like it's swapped from USD/BTC to BTC/USD. Also if you look closely when you use link to get EUR/BTC price, you got BTC/USD instead.
The EUR ticket is not working (there is a warning in the OP).
|
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3010
Merit: 7419
Top Crypto Casino
|
|
September 26, 2020, 12:22:11 PM |
|
Sorry, shouldn't assume you already fixed it (since the thread last updated few months ago) before it broke again.
I haven't touched the code in a while. I only cared about keeping the primary function working (address balance to BTC and USD), since that's what most people use. What messed up everything was BitcoinAverage (the previous API I used) wanting me to pay for a subscription. I wrote everything based on their API and changing it now would need a whole rewrite anyways. I was lazy at the time so just changed what I had to change to keep the basics. I'll make everything work again when I have some free time.
|
|
|
|
bL4nkcode
Copper Member
Legendary
Offline
Activity: 2142
Merit: 1307
Limited in number. Limitless in potential.
|
|
May 28, 2021, 02:40:58 PM |
|
Found my thread that uses this feature and wonder why the image doesn't load and drive me to see this thread. Seems like there's an error and it shows 502 bad gateway status.
|
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3010
Merit: 7419
Top Crypto Casino
|
|
May 28, 2021, 02:59:14 PM |
|
Seems like there's an error and it shows 502 bad gateway status.
Thanks, it should be working now. edit: Give it some time for the cache to clear.
|
|
|
|
bL4nkcode
Copper Member
Legendary
Offline
Activity: 2142
Merit: 1307
Limited in number. Limitless in potential.
|
|
May 28, 2021, 06:28:10 PM |
|
Seems like there's an error and it shows 502 bad gateway status.
Thanks, it should be working now. edit: Give it some time for the cache to clear. All goods now. Thank you!
|
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3010
Merit: 7419
Top Crypto Casino
|
|
May 14, 2023, 06:44:05 PM |
|
And... we're back!
The API is working again (and I'll keep it that way).
|
|
|
|
|