July 28, 2026, 06:31:43 AM

Author Topic: CryptoCoinExplorer API  (Read 6820 times)

0 Members and 1 Guest are viewing this topic.

Offline Dayne

  • Gold Panner
  • **
  • Posts: 35
  • Karma: +6/-0
  • Cryptocurrency Evangelist
    • View Profile
CryptoCoinExplorer API
« on: June 12, 2013, 09:52:53 PM »
Hey, if somebody could tell me the php/jquery/ajax/etc command that I need to use to fetch data from (for example) http://gld.cryptocoinexplorer.com/chain/Goldcoin/q/totalbc, I can use my skills as a digital native and Google the [beep] out of that and get some form of statistics page up and running.

I'm not a programmer. I just need to know what command I should use, in what language.. jQuery.get? I am not sure, but a snippet of example code to display the contents of the page I linked should more than suffice for me to whip up something.

Offline RichG

  • Prospector
  • ***
  • Posts: 60
  • Karma: +8/-0
  • Meanwhile at the Apple store...
    • View Profile
Re: CryptoCoinExplorer API
« Reply #1 on: June 12, 2013, 10:57:42 PM »

Offline Dayne

  • Gold Panner
  • **
  • Posts: 35
  • Karma: +6/-0
  • Cryptocurrency Evangelist
    • View Profile
Re: CryptoCoinExplorer API
« Reply #2 on: June 13, 2013, 08:46:13 AM »
Nooo. I mean, I can do that. And I know html, I could have used that method but that's an obtuse way of going about it, it's better if I actually fetch the data on the page, rather than displaying the page itself.

Offline twobits

  • Gold Panner
  • **
  • Posts: 30
  • Karma: +10/-0
    • View Profile
Re: CryptoCoinExplorer API
« Reply #3 on: June 13, 2013, 01:44:55 PM »
Hey, if somebody could tell me the php/jquery/ajax/etc command that I need to use to fetch data from (for example) http://gld.cryptocoinexplorer.com/chain/Goldcoin/q/totalbc, I can use my skills as a digital native and Google the [beep] out of that and get some form of statistics page up and running.

I'm not a programmer. I just need to know what command I should use, in what language.. jQuery.get? I am not sure, but a snippet of example code to display the contents of the page I linked should more than suffice for me to whip up something.

Well since you mention php, php can be a bit odd here, as it depends on how the php you are using was built.    If it was compiled with the option to support urls in the file commands, which is not unusual.

$page = file_get_contents('http://gld.cryptocoinexplorer.com/chain/Goldcoin/q/totalbc');

If not then the next usual case is to use the curl binding to do it.