Support » Plugin: Stock Quote » Google have deleted the API

  • Resolved antonmccoy

    (@antonmccoy)



    It looks like Google has removed the API that this plugin is using. Is a new API going to be added into this tool, as it doesn’t seem to work at all anymore as a result.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @antonmccoy,

    You are right, unfortunately, Google in this September removed free API we used for stock data. This was URL from where we until now grabbed data for stock https://finance.google.com/finance/info?client=ig&q=MSFT,AAPL but /info resource does not exists anymore.

    I’ll try to find other stock resource allowed on WordPress.org. If anyone have some advise, I’ll be happy to update plugin to use other stock resource.

    Thank you for understanding,
    Aleksandar U.

    Hi, Aleksandar. First, great job on the plugin. I have been using it on a couple of sites with very nice results.

    Re. a free API alternative to the Google Finance API, how about this? https://www.alphavantage.co/ They seem to offer everything just by getting a free API key.

    Example: https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=MSFT&interval=1min&apikey=demo

    Please let me know if you can use it.

    • This reply was modified 11 months, 2 weeks ago by  sorro78.
    • This reply was modified 11 months, 2 weeks ago by  sorro78.

    Hi @sorro78,

    Thank you for pointing out AlphaVantage. I check it last night, but unfortunately there are only open, high, low, close and volume, but no change amount and change percentage info, used by almost all users of plugin.

    Yes, I probably can calculate change based by fetching current and previous trading day, but that is not best solution. If I do not find any better replacement, AlphaVantage will probably be fallback resource.

    Also, I can’t provide ETA to make plugin to work again fully, because I’m overloaded with non-WordPress projects at the moment.

    It’s important to note, as Stock Quote and Stock Ticker are opensource plugins, any help work on plugin from other developers is more than welcome. If anyone have time to implement AlphaVantage to Stock Quote and/or Stock Ticker, I’ll be more than happy to provide that solution in next release of plugins.

    Cheers,
    Aleksandar

    Hi @sorro78,

    I’m happy to update you that new fixed version of Stock Quote 0.2.0 which utilize Alpha Vantage has been finally released.

    Feel free to follow Installation instructions from FAQ https://wordpress.org/plugins/stock-quote/#installation-instructions to make sure all required steps are done in regards to make plugin run smoothly on your website.

    Cheers,
    Aleksandar U.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google have deleted the API’ is closed to new replies.