Bitcoin Forum
June 22, 2024, 02:17:04 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [CLOSED]  (Read 361 times)
owlcatz (OP)
Legendary
*
Offline Offline

Activity: 3682
Merit: 1970



View Profile
June 20, 2016, 11:37:15 PM
Last edit: June 21, 2016, 09:39:24 PM by owlcatz
 #1

I'm trying to modify this source https://btc-priceimg.herokuapp.com/ to work with MONERO/XMR/USD for selling things online here etc.

I'm not a python programmer, but i have it close to working, I just can't figure out the last bugs.

PM me if you are up to the challenge. I can pay in either btc or xmr, name your price, but honestly, I consider this pretty trivial, i just need help with the final conversion, i can get the price via cryptonator's api, it's just the value type (float vs. decimal that is messing me up) Tongue

Thanks! Smiley

Edit - you should know flask and how to deploy the app as well at the minimum.. Smiley


RESOLVED, thank you amacar1  Smiley

.
I  C  Λ  R  U  S
██████████
██████▀▀▀██
████▀█████▀█
██████████
██████████
█████████████
░▄████
█████████████
███████████████████
███████████████████
████████░░░▀▀▀▀▀▀▀▀
████████▄▄▄████████
███████████████████
█████████████████▀
░░░██
▄▄▄█
█████
░░░██
░░░██
░░░██
░░░██
░░░
░░░
░░░
▄██████
█▌░▐██
███████▀
█████████████████████
██
███████████████████
██
███████████████████
██
████▀▀▀▀████▀▀█████
██
██░░▄▄░░██░░░█████
██
███▄▄██░░███░░█████
██
███▀▀▀▀░░▀██░░█████
██
██░░░░▄▄▄▄█▀░░▀████
██
██░░░░░░░░█░▀▀░████
██
███████████████████
██
███████████████████
██
███████████████████
█████████████████████
████
██
██
██
██

██
██
██
██
██
██
██
████
████
██
██
██
██

██
██
██
██
██
██
██
████
████
██
██
██
██

██
██
██
██
██
██
██
████
████
██









██
████
████
██









██
████
[/ce
owlcatz (OP)
Legendary
*
Offline Offline

Activity: 3682
Merit: 1970



View Profile
June 20, 2016, 11:59:43 PM
 #2

I am not so familiar with Flask (I have barely completed a basic tutorial on it), but maybe I could help you. Can you give me more details about the problem / error you are having?

(I am a python programmer, not the best out there, but I feel comfortable with the language, you can check my github account if you want). I have worked with the Blockchain API as well (I wrote an address checker for user BombaUcigasa).

I can't really go into details but it's about basic programming math in python, which I know next to nothing about having only coded in PHP and other older languages like bash/perl etc etc.  

here's my source. Run with it... https://github.com/owlcatz/xmr-priceimg  Tongue

.
I  C  Λ  R  U  S
██████████
██████▀▀▀██
████▀█████▀█
██████████
██████████
█████████████
░▄████
█████████████
███████████████████
███████████████████
████████░░░▀▀▀▀▀▀▀▀
████████▄▄▄████████
███████████████████
█████████████████▀
░░░██
▄▄▄█
█████
░░░██
░░░██
░░░██
░░░██
░░░
░░░
░░░
▄██████
█▌░▐██
███████▀
█████████████████████
██
███████████████████
██
███████████████████
██
████▀▀▀▀████▀▀█████
██
██░░▄▄░░██░░░█████
██
███▄▄██░░███░░█████
██
███▀▀▀▀░░▀██░░█████
██
██░░░░▄▄▄▄█▀░░▀████
██
██░░░░░░░░█░▀▀░████
██
███████████████████
██
███████████████████
██
███████████████████
█████████████████████
████
██
██
██
██

██
██
██
██
██
██
██
████
████
██
██
██
██

██
██
██
██
██
██
██
████
████
██
██
██
██

██
██
██
██
██
██
██
████
████
██









██
████
████
██









██
████
[/ce
amacar1
Hero Member
*****
Offline Offline

Activity: 707
Merit: 501


View Profile
June 21, 2016, 04:33:32 PM
 #3

Why you can't use any of PHP version of this script type?

Anyway how much are you paying? I don't know nothing about Flask, buy maybe I can learn.
owlcatz (OP)
Legendary
*
Offline Offline

Activity: 3682
Merit: 1970



View Profile
June 21, 2016, 04:37:18 PM
 #4

Why you can't use any of PHP version of this script type?

Anyway how much are you paying? I don't know nothing about Flask, buy maybe I can learn.

Because, I don't want to re-write the wheel, and since I don't know python very well, I can't really port it easily. Tongue

I was thinking 10-20 USD - I Have the code pretty much written/modified, I just need help getting the math to work in the final conversion code.

.
I  C  Λ  R  U  S
██████████
██████▀▀▀██
████▀█████▀█
██████████
██████████
█████████████
░▄████
█████████████
███████████████████
███████████████████
████████░░░▀▀▀▀▀▀▀▀
████████▄▄▄████████
███████████████████
█████████████████▀
░░░██
▄▄▄█
█████
░░░██
░░░██
░░░██
░░░██
░░░
░░░
░░░
▄██████
█▌░▐██
███████▀
█████████████████████
██
███████████████████
██
███████████████████
██
████▀▀▀▀████▀▀█████
██
██░░▄▄░░██░░░█████
██
███▄▄██░░███░░█████
██
███▀▀▀▀░░▀██░░█████
██
██░░░░▄▄▄▄█▀░░▀████
██
██░░░░░░░░█░▀▀░████
██
███████████████████
██
███████████████████
██
███████████████████
█████████████████████
████
██
██
██
██

██
██
██
██
██
██
██
████
████
██
██
██
██

██
██
██
██
██
██
██
████
████
██
██
██
██

██
██
██
██
██
██
██
████
████
██









██
████
████
██









██
████
[/ce
amacar1
Hero Member
*****
Offline Offline

Activity: 707
Merit: 501


View Profile
June 21, 2016, 04:55:19 PM
 #5

You can use my PHP script: https://github.com/amacar/generateBitcoinPriceImage
Just change json based lines.

If you don't want to, then I will maybe take a look and try to install this on my pc and find out where lays the problem.
owlcatz (OP)
Legendary
*
Offline Offline

Activity: 3682
Merit: 1970



View Profile
June 21, 2016, 04:57:26 PM
 #6

You can use my PHP script: https://github.com/amacar/generateBitcoinPriceImage
Just change json based lines.

If you don't want to, then I will maybe take a look and try to install this on my pc and find out where lays the problem.

Well shit, I didn't think there was anything else out there that did this but the app I tried. I will give yours a shot and let you know. Thanks! Smiley

.
I  C  Λ  R  U  S
██████████
██████▀▀▀██
████▀█████▀█
██████████
██████████
█████████████
░▄████
█████████████
███████████████████
███████████████████
████████░░░▀▀▀▀▀▀▀▀
████████▄▄▄████████
███████████████████
█████████████████▀
░░░██
▄▄▄█
█████
░░░██
░░░██
░░░██
░░░██
░░░
░░░
░░░
▄██████
█▌░▐██
███████▀
█████████████████████
██
███████████████████
██
███████████████████
██
████▀▀▀▀████▀▀█████
██
██░░▄▄░░██░░░█████
██
███▄▄██░░███░░█████
██
███▀▀▀▀░░▀██░░█████
██
██░░░░▄▄▄▄█▀░░▀████
██
██░░░░░░░░█░▀▀░████
██
███████████████████
██
███████████████████
██
███████████████████
█████████████████████
████
██
██
██
██

██
██
██
██
██
██
██
████
████
██
██
██
██

██
██
██
██
██
██
██
████
████
██
██
██
██

██
██
██
██
██
██
██
████
████
██









██
████
████
██









██
████
[/ce
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!