Bitcoin Rates
This PHP script allows you to create your own bitcoin ticker & calculator website with a backend API included (if you wanted to build a mobile app). Supporting 163 currencies with the ability to change the default currency, website color scheme, and more simply!
Features
- Supporting 163 currencies
- Super simple installation with built in installer
- API updates every 60 seconds
- JSON data cache
- Change the default currency/calculator (index page)
- Change the popular currencies (in the header)
- Individual currency pages
- Clean, mobile responsive design
- Configurable title and description
- Configurable color scheme
- Easily configure your Google Analytics
API Information
Bitcoin Rates comes with a built in API. To use this API in mobile apps you have three endpoints.
- api/v1/rates – Which will give you all the current rates
- api/v1/rates/{currency} – Which will give you the current rates for that currency (ex: api/v1/rates/usd)
- api/v1/calculate/{amount}/{currency} – Which will give you the current rate for x amount of bitcoins (ex: api/v1/calculate/2/usd)
How to Install
- Once you have downloaded the zip file from CodeCanyon.com
- Extract bitcoinrates.zip
- Upload the files to your server via FTP
- Make sure the folder/file(s) is able to be written to via the server (0775 permissions)
- In the browser, navigate to where you uploaded the folder
- Fill out the form with your information/preferences
- Click “install”. This will create the config file and unescape the htaccess files for the script/API
- For security reasons, you should remove the install folder from the server when you are done!
- You’re all set!
- Too edit the script, you can either go through this process again or just open library/config.php in any text editor to edit
Server Requirements
- PHP 5+
- cURL
- extension=intl.so (PHP Class NumberFormatter requires this)