Help
Log In
Home
Forum Actions
Mark Forums Read
Quick Links
Today's Posts
How to Use the Forums
What's New
Advanced Search
Forum
General Forums
WordPress General Discussion
JSON API in WORDPRESS
Existing customer?
Login to your account (top right corner) before you can post a question.
Forgot your login?
Read this page
for instructions.
Pre-sales questions?
Send us a message via our
pre-sales contact form
.
Results 1 to 2 of 2
Thread:
JSON API in WORDPRESS
Thread Tools
Show Printable Version
Subscribe to this Thread…
Search Thread
Advanced Search
June 6th, 2017
#1
arisma
Thread Starter
Expired Customer
Join Date
Mar 2017
Posts
84
Thanks
9
Thanked 0 Times in 0 Posts
JSON API in WORDPRESS
Hi everyone!
I'm trying to fetch some API data of a URL but I'm pretty stuck with wordpress -.-
I got this url for example:
https://api.coinmarketcap.com/v1/ticker/bitcoin/
And I want to display the "price_usd" on a wordpress page!
But HOW?
Should I use php for fetching the data? Does anyone have a solution/code ?
Reply With Quote
April 30th, 2019
#2
wishie
Expired Customer
Join Date
Jan 2014
Location
Australia
Posts
48
Thanks
0
Thanked 1 Time in 1 Post
Holy thread resurrection batman!
<?php
$data = json_decode(file_get_contents("https://api.coinmarketcap.com/v1/ticker/bitcoin/"), true);
echo $data['0']['price_usd']
?>
Reply With Quote
«
Need some help with query
|
vantage reviews.php error on php 7
»
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread.
(0 members and 1 guests)
Similar Threads
Json optimize
By tradeamillion in forum Mapsupreme
Replies:
2
Last Post:
November 9th, 2015,
02:46 PM
Dimitris
RSS/JSON View for Listings
By cdrake118 in forum Help Using Vantage (Legacy)
Replies:
2
Last Post:
February 28th, 2014,
11:24 AM
JSON For Categories
By verbomedia in forum Report ClassiPress Bugs
Replies:
1
Last Post:
October 19th, 2012,
09:08 PM