Re: Accessing Json data (I think I am nearly there) complete beginner

2013-05-23 Thread Andrew Edwards-Adams
On Thursday, May 23, 2013 7:56:19 PM UTC+1, Mark Lawrence wrote: > On 23/05/2013 19:19, Andrew Edwards-Adams wrote: > > > On Thursday, May 23, 2013 7:11:28 PM UTC+1, Andrew Berg wrote: > > >> On 2013.05.23 11:58, Andrew Edwards-Adams wrote: > > >> > &

Re: Accessing Json data (I think I am nearly there) complete beginner

2013-05-23 Thread Andrew Edwards-Adams
On Thursday, May 23, 2013 7:11:28 PM UTC+1, Andrew Berg wrote: > On 2013.05.23 11:58, Andrew Edwards-Adams wrote: > > > Hi thanks for the reply Andrew, my first bit of code was heading in the > > right direction I was managing to pull out the usernames from the JSON, > >

Re: Accessing Json data (I think I am nearly there) complete beginner

2013-05-23 Thread Andrew Edwards-Adams
On Thursday, May 23, 2013 5:40:49 PM UTC+1, Andrew Berg wrote: > On 2013.05.23 11:09, Andrew Edwards-Adams wrote: > > > I was recommended to use the following code to access the Json data > > directly, however I cannot get it to return anything. > > Where exactly is the

Accessing Json data (I think I am nearly there) complete beginner

2013-05-23 Thread Andrew Edwards-Adams
Hey guys I think its worth stating that I have been trying to code for 1 week. I am trying to access some Json data. My innitial code was the below: "import mechanize import urllib import re def getData(): post_url = "http://www.tweetnaps.co.uk/leaderboards/leaderboard_json/all_time";