title: Python: Get Twitter Trends in tweepy, and parse JSON
body: <p><em>Ok, so please note this is my first post</em></p>
  
  <p>So, I am trying to use Python to get Twitter Trends, I am using python 2.7 and Tweepy.</p>
  
  <p>I would like something like this (which works):</p>
  
  <pre><code>#!/usr/bin/python
  # -*- coding: utf-8 -*-
  import tweepy
  consumer_key = 'secret'
  consumer_secret = 'secret'
  access_token = 'secret'
  access_token_secret = 'secret'
  # OAuth process, using the keys and tokens
  auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
  auth.set_access_token(access_token, access_token_secret)
  api = tweepy.API(auth)
  trends1 = api.trends_place(1)
  
  print trends1
  </code></pre>
  
  <p>That gives a massive JSON string,</p>
  
  <p>I would like to extract each trend name to a variable, in string format <code>str(trendsname)</code> ideally.</p>
  
  <p>Which would ideally have the names of trends like so:
      <code>trendsname = str(trend1) + " " +str(trend2) + " "</code>
  and so on, for each of the trend names.</p>
  
  <p>Please note I am only learning Python.</p>