=== INDICES API ===  	
Version: 2.4 
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
 
== Description ==

This plugin enables you to display real-time commodity prices in multiple currencies.

== Installation ==

There are two main methods to install this plugin in WordPress.

Installation through the WordPress dashboard:
- Go to the Plugins section in the WordPress admin panel.
- Click on "Add New" and select "Upload Plugin."
- Upload the .zip file of the plugin and click on "Install Now."

Manual installation using WP File Manager:
- Extract the plugin files on your computer.
- Use the WordPress file manager, WP File Manager, to access the /wp-content/plugins/ directory.
- Upload the extracted plugin folder to this directory.

== Configuration ==

Before getting started, it is necessary to activate the plugin from the "Plugins" menu in WordPress. To do this:
- Search for the plugin name in the list of installed plugins.
- Click on the "Activate" option.

Once activated:
- Go to Indices API > Settings in the WordPress admin panel.
- Enter the API key (Indices API Key) in the corresponding field. You can find this key in the Indices API dashboard.

That's it! The plugin has been successfully configured. Now, go to Indices API > Shortcodes in the WordPress admin panel 
to explore the different commands and combinations available for use with the plugin.

== Usage ==

How to Use the Indices API Plugin:
1. Go to the Pages section and select the option "Add New Page".
2. Assign a title of your choice for the page.
3. Add the corresponding shortcode in the content block.

The shortcode will return the value of the commodity you select in the chosen currency. You can configure it as follows:
- symbol: The commodity you want to retrieve, such as gold, silver, platinum, palladium, etc.
- base: The currency you want the value in, such as USD, GBP, etc.
- date: The specific date for which you want to query the value.
- price-round: The number of decimal places you want to display.
- separator: The character you want to use as a decimal separator.
- currency-symbol: The currency symbol you want to display in the response, such as $, €, etc.

Shortcode Example: [indices_api_price symbol="NYA" base="USD" date="2024-09-12" price-round="4" separator="."] 
Response: $2556.8778

4. When you're done, select the "View Page" option to see the result.

For more information about available indices and currencies, check the Indices API documentation.
