ksakharov / crypto-currency-converter
There is no license information available for the latest version (dev-master) of this package.
Test description
dev-master
2022-11-10 20:03 UTC
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is not auto-updated.
Last update: 2025-05-24 06:21:14 UTC
README
Console Commands:
- php console.php convert btc-bitcoin eth-ethereum 1
- php console.php get_coin btc-bitcoin
- php console.php get_coins 3
Api Methods:
- GET | /api/get_coins | params: limit(int)
- POST | /api/get_coin | params: id(string)
- GET | /api/convert_coin | params: from(string), to(string), amount(int)
Web Client:
- /
All routes setting in .htaccess
AddDefaultCharset UTF-8
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/api
RewriteRule (.*) api/index.php [QSA,L]
RewriteRule !index\.php$ webclient/index.php [L]
Client has 2 logger
- Console
- File