Jump to content

JSON parsing


ninedoors

Recommended Posts

I understand how to parse the JSON data once I get it into a variable but how do I get the JSON string from a url.  The url I am working with is http://www.totallyscored.com/json/sport/7, where I get the recent scores from the NFL.  I know I could use the rss feed, but it won't work as well as the JSON will if I can get it. 

 

Anyone have an idea of how to do this I know it is possible I just can't find it on google.  Lots of parsing tutorials but nothing on actually retrieving the data from the server.  Thanks for the help.

 

Nick

Link to comment
https://forums.phpfreaks.com/topic/131198-json-parsing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.