ZPT Metals

Description

A solution provided to display latest Metals(Gold, Silver, Platinum etc) rates in the desired currencies (USD,GBP, CAD etc).

Plugin comes up with a comprehensive controls to display desired date metal rates as well as latest, with the help of short codes with custom WP Editor.

Features:
– Latest metals rate
– Gold rate
– Silver
– Platinum
– Palladium
– Rhodium
– Ruthenium
– Shortcode to display latest/historical rates
– Rates in desired currency

Short code details

Use shortcode [zpt-metals] to display metal rates on your wp website.

Following are the params that you can pass to display your desired shortcode output:

type
Its required to display which metal rates you want to display. Possible value can be any of; gold, silver, platinum, palladium, rhodium, ruthenium
Example: [zpt-metals type=”gold”]

date-format
Its optional to display desired date format. Possible value can be any of; Y-m-d, m-d-Y etc.
Example: [zpt-metals date-format=”Y-m-d”]

base
Its optional to display rates of metal in a specific currency. Possible value can be any of; USD, GBP etc.
Example: [zpt-metals price-round=”2″]

price-round
Its optional to display desired digits after decimal. Possible value can be any of integer.
Example: [zpt-metals price-round=”2″]

date
Its optional to display rates for a specific date. Possible value can be a date(YYYY-MM-DD) format.
Example: [zpt-metals date=”2020-10-16″]

DISCLAIMER: This plugin is relying on a 3rd party(metals-api.com) as a service. You will need to get an API key from https://metals-api.com and use that key to get metals rate. This plugin is just an interface to fetch latest rates from metals-api.com on the behalf of your API key. Read privacy policies of metals-api

Screenshots

  • Setup Metals plugin settings
  • Shortcode resultants

Installation

Upload the extracted plugin files to the /wp-content/plugins directory, or install the plugin through the WordPress plugins screen directly.

Activate the plugin through the “Plugins” menu in WordPress and then enter your metals-api.com API key.

FAQ

Is API required to run this plugin?

Yes. Metals API key is required to fetch latest metal rates.

Does Plugin handles API rate limits?

Yes. Plugin will request latest rates from API after above set minutes from its last run and then save rates into database. Untill next run, plugin will serve saved rates from database to visitors.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“ZPT Metals” is open source software. The following people have contributed to this plugin.

Contributors

Translate “ZPT Metals” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

  • Initial release