1.2.1 • Published 5 months ago

gold-price-update v1.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

install

 npm i gold-price-update
 npm i core-js
import { useGoldPrice } from "gold-price-update";
 const { gold , error , isConnected } = useGoldPrice('JUW0FexduguFLpsMdNdIdveXckJJffwSraF60')

To get secret_key go to (1 week free) goldpriceupdate.com

Example

import {  useGoldPrice } from "gold-price-update";

function App() {
   const { gold , error , isConnected } = useGoldPrice('JUW0FexduguFLpsMdNdIdveXckJJffwSraF60')

  return (
    <div className="App">
      <span>
        {gold?.bid}
      </span>
    </div>
  );
}

export default App;