This my json short code:
[json src=”https://newsapi.org/” key=”newsapi”][/json]
But it asking me that you key not right. How to know the value of key attribute for a particular website??
Anyone help.
I have been having trouble getting this json shortcode to work.
I used this example as a test case:
[json src=”https://developer.yahooapis.com/TimeService/V1/getTime?appid=YahooDemo&output=json” lifetime=”30″]At the tone, the time will be: {Result.Timestamp}[/json]
If I go into wp-config.php and enable debug mode, then it works in both my posts and in the JSON shortcode test tool. However, when I run it with debug mode disabled, then it seems to return nothing where the data should appear (in the example, the complete output would be “At the tone, the time will be:”).
Any suggestion on how to debug this when debug mode is disabled?
]]>Hi, I’m able to retrieve data from my JSON file… Im making changes in the file in real time and changes are not updated on the page, it always shows old data… I added lifetime=”0″ but still same problem…
How can I fix this? Would appreciate some help ??
Regards
]]>Hi there
What would my output be for this json url. I want to pull this data to my wordpress site.
https://api.leaguerepublic.com/l/json/getFixtureGroupsForSeason/881298762.json
]]>Can I show the data pull form JSON in widget ?
]]>Hi there,
Trying to get this nice Plugin to work:
I got this feed (json) : https://www.lokalebasen.dk/lease/api/db_madsen/newest_locations
showing 5 newest objects.
[{"url":"https://www.lokalebasen.dk/leje/kontorlokaler/2610-rodovre/fjeldhammervej-14513","address":"Fjeldhammervej 15, 2610 R?dovre","photo_url":"https://imageproxy2.lokalebasen.dk/convert?shape=cut&source=http%3A%2F%2Fc1315358.r58.cf3.rackcdn.com%2F267811%2FBillede1.jpg&resize=320x240&signature=e15a4706e191059188df3846087414f2"},{"url":"https://www.lokalebasen.dk/leje/kontorlokaler/7100-vejle/flegmade-14512","address":"Flegmade 15, st. th., 7100 Vejle","photo_url":"https://imageproxy0.lokalebasen.dk/convert?shape=cut&source=http%3A%2F%2Fc1315358.r58.cf3.rackcdn.com%2F267799%2Ffoto.jpg&resize=320x240&signature=6e9a716dadec322a921c960786ed801c"},{"url":"https://www.lokalebasen.dk/leje/kontorlokaler/7100-vejle/flegmade-14511","address":"Flegmade 15, 1. th., 7100 Vejle","photo_url":"https://imageproxy0.lokalebasen.dk/convert?shape=cut&source=http%3A%2F%2Fc1315358.r58.cf3.rackcdn.com%2F267778%2FIMG_0233.JPG&resize=320x240&signature=f9327364ea1b6a17176831ad5c7c3398"},{"url":"https://www.lokalebasen.dk/leje/kontorlokaler/7100-vejle/flegmade-14510","address":"Flegmade 15, 1. tv., 7100 Vejle","photo_url":"https://imageproxy2.lokalebasen.dk/convert?shape=cut&source=http%3A%2F%2Fc1315358.r58.cf3.rackcdn.com%2F267731%2FIMG_0141.JPG&resize=320x240&signature=971d6ac972afcd4efa49d3ea7bca05da"},{"url":"https://www.lokalebasen.dk/leje/kontorlokaler/7100-vejle/flegmade-14509","address":"Flegmade 15, st. tv., 7100 Vejle","photo_url":"https://imageproxy1.lokalebasen.dk/convert?shape=cut&source=http%3A%2F%2Fc1315358.r58.cf3.rackcdn.com%2F267786%2Ffoto.jpg&resize=320x240&signature=26129b189d7ce97344806f5569c6c0bb"}]
Should show a list with an Address (text) and Photo, wrapped in an URL.
I made this Shortcode
[json src="https://www.lokalebasen.dk/lease/api/db_madsen/newest_locations"] {address}, {url}, {photo_url}[/json]
but it’s only shows the comma’s
What’s wrong here??
Regards!!
]]>Hello,
Whenever i try this shortcode, i get an error message:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /home/jpwebser/domains/coinbeurs.nl/public_html/wp-content/plugins/json-data-shortcode/index.php on line 59
Is there anything / setting i must change in wp to prevent this?
]]>Hi
I dont need all these currency rates from this api. Trying to get just one currency rate at this site: https://bitpay.com/api/rates. How do I do that with yr shortcode?
Thanks
]]>I really like this plugin, and would like to use it in a project that I am working on. I am having a problem getting it to display the data that I am trying to pull from an API call.
I am working with the Open States API from the Sunlight Foundation, which can be found at https://www.openstates.org.
The API String that I am using looks like this:
https://openstates.org/api/v1//bills/?q=prison&state=pa&apikey=my_api_key
“q” representing the keyword value being searched for
“state” representing the state being searched for
When I run the api call in my browser, I get numerous results, that look like the following:
{
"title": "An Act amending Title 18 (Crimes and Offenses) of the Pennsylvania Consolidated Statutes, providing for mandatory prison sentences for arson and related offenses.",
"created_at": "2013-05-31 07:50:29",
"updated_at": "2013-05-31 07:50:29",
"id": "PAB00014186",
"chamber": "upper",
"state": "pa",
"session": "2013-2014",
"type": [
"bill"
],
"subjects": [],
"bill_id": "SB 953"
},
{
"title": "An Act amending Title 61 (Prisons and Parole) of the Pennsylvania Consolidated Statutes, establishing the Prison Industry Enhancement Authority; providing for employment of prisoners by private industry and for subcontracts with correctional agencies; establishing guidelines for prisoner compensation; and providing for location of private sector prison industry.",
"created_at": "2013-01-11 00:27:03",
"updated_at": "2013-01-30 01:31:14",
"id": "PAB00011506",
"chamber": "upper",
"state": "pa",
"session": "2013-2014",
"type": [
"bill"
],
"subjects": [],
"bill_id": "SB 95"
},
My problem is that when I use the short code in a post or on a page, it does not display a single result.
Here is how I am putting the short code on in the editor:
[json src=”https://www.openstates.org/api/v1//bills/?q=prison&state=pa&apikey=c0f01f795e6447b6ba341580b320b59f” lifetime=”1″][/json]
This is exactly how I have it in the post and I get no data display.
Can you please help me figure out how to display this data in a post or page? I really would like to get this working, if it is possible.
]]>Hi,
if I try to display {ExampleData.ExampleValue}, it prints “Array”.
Is it possible to display single values of an Array [1,2,3,4,5,6]? For Example with something like {ExampleData.ExampleValue.1} (does not work)?
Thanks in advance
https://www.ads-software.com/extend/plugins/json-data-shortcode/
]]>hi.
my json API is
https://www.yuanbaohui.com/api/ticker
whatever i try. I can’t display anthing by this plugin.,
Can you help me.
just demo for me for this simple json.
thanks!
https://www.ads-software.com/extend/plugins/json-data-shortcode/
]]>I’m trying to pull in json data from another test domain via it’s api (I have access to debug this api). The API gets called on the save of the post w/the shortcode in it but not on a page refresh and no json data is shown on page.
https://www.ads-software.com/extend/plugins/json-data-shortcode/
]]>“The symptom: Barely any JavaScript works in the admin. Meta boxes cannot
be collapsed. Clicking the Screen Options or Help tabs don’t do anything.
etc.” This quote from wp master list fixes forum on wp 3.3 which I found after much pain staking effort over last 2 days. First symptom was disappearance of visual editor beneath white screen and only html visible. Followed by a range of other symptom including inability to collapse meta boxes in widgets panel or access other functions. I am newbie but I have tried many solutions suggested by others to the problem without success. I saw that JSon data shortcode plugin was launched today so obviously this problem is becoming mainstream on 3.3.1. I have installed both hotfix 0.8 and this new plugin but no success. Can somebody put me out of my misery. many thanks.
https://www.ads-software.com/extend/plugins/json-data-shortcode/
]]>