GithubHelp home page GithubHelp logo

generatebitcoinpriceimage's Introduction

generateBitcoinPriceImage

Php script for bitcoin price image generation

Use like this (demo): http://amacar.tk/generateImage/index.php/?VALUE=100&CUR=USD&TYPE=24h_avg&TIMESTAMP=YES&PRECISION=7&COLOR=0000FF&SIZE=12&FONT=calibri alt tag

Parameter VALUE is just amount you want to convert to BTC

Parameter CUR is currency and could be any value from: https://bitcoinaverage.com ('USD', 'EUR', 'GBP', 'CAD'...), default is USD.

Parameter TYPE could be 'ask', 'bid', '24h_avg', 'last', default is last.

If parameter TIMESTAMP is 'yes', then timestamp is added to image, otherwise no. Default is no timestamp added.

Parameter PRECISION allows you to round calculated value to decimals. Default is 5.

Parameter COLOR will change text color. Accept HEX values, default is black.

Parameter BGCOLOR will change background color. Accept HEX values, default is transparent background.

Parameter OPACITY will change the opacity of background color. Valid parameters are numbers from 0 to 127 (0 is completely opaque, 127 is fully transparent)

Parameter SIZE is size of text, default is 11.

FONT is font of text, default is arial.

Donations: paypal: [email protected]

bitcoin: 1PdHRDrRxBsohPRJMxTa5cVLNriEbJUhdP

generatebitcoinpriceimage's People

Contributors

amacar avatar

Watchers

James Cloos avatar owlcatz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.