I got a bearer_token properly, and now trying to test search through GET request.
It fails with error: urllib2.HTTPError: HTTP Error 400: Bad Request
Should something like this work:
<python>
req = urllib2.Request('http://api.twitter.com/1.1/search/tweets.json?q=%40twitterapi&')
req.add_header('User-Agent', 'test')
req.add_header('Authorization: Bearer ', bearer_token)
req.add_header("Accept-Encoding", "gzip")
response1 = urllib2.urlopen(req)
</python>