Skip to content

This project is a simple PHP application that uses the Exchange Rates API service to fetch and visualize target currency exchange rates for a specific base currency (EUR).

License

Notifications You must be signed in to change notification settings

bykuin/Exchange-Rates-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Basic Exchange Rates API Project Example

Test

This project is a simple PHP application that uses the Exchange Rates API service to fetch and visualize target currency exchange rates for a specific base currency (EUR).

Requirements

  • Requires PHP 5.4 or newer.
  • The file_get_contents function must be enabled.

Installation

  1. Clone this project from GitHub or download it as a zip.
  2. Add your Exchange Rates API key to the $apiKey variable in the index.php file.
  3. Add or remove the desired target currencies in the $targetCurrencies array.
  4. Upload the project to a web server or run it on a local server environment.
  5. Open the project directory in your web browser to view the exchange rates.

Usage

  • Upon opening the homepage, a list will be displayed showing the exchange rates and percentage changes for the specified target currencies against the base currency (EUR).
  • Each currency is indicated with a green or red label depending on whether it has increased or decreased.
  • Additionally, the percentage change of each currency is also displayed next to it.

Contributing

  1. Fork this repository and create a local copy.
  2. Create a new branch: git checkout -b my-changes
  3. Make your modifications and commit them: git commit -m 'Add my changes'
  4. Push your branch to push your changes to the main repository: git push origin my-changes
  5. Create a pull request.
  6. Wait for our review! That's it. We welcome your contributions.

License

This project is licensed under the MIT License. For more information, please see the LICENSE file.

About

This project is a simple PHP application that uses the Exchange Rates API service to fetch and visualize target currency exchange rates for a specific base currency (EUR).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages