Sunday, October 3, 2010

Googland

Googland


[G] Join Willie, Norah and others as they perform for Farm Aid 25

Posted: 02 Oct 2010 09:43 AM PDT

YouTube Blog: Join Willie, Norah and others as they perform for Farm Aid 25

Farm Aid is the longest running benefit concert in the U.S., and to date has raised more than $37 million for small farms. This year's 25th anniversary celebration is live on YouTube, starting at 6 p.m. (ET), and features performances from longtime supporters Willie Nelson, John Mellencamp, Neil Young, Dave Matthews, Norah Jones, Band of Horses, Wilco's Jeff Tweedy and others. Here, a few members of Farm Aid's official Board of Directors tell you more:



Farm Aid also raises awareness about the Good Food movement, a campaign that encourages people to eat and shop locally by getting food directly from growers at farmers' markets or though community-supported agriculture.

Enjoy the music and, the next time you pick up some groceries, consider the people involved in the journey from farm to table.

Michele Flannery, Music Manager, recently watched "Neil Young delivers "Le Noise" to YouTube."



URL: http://feedproxy.google.com/~r/youtube/PKJx/~3/y5Av0c4Sphg/join-willie-norah-and-others-as-they.html

[G] Python Library for the Management API

Posted: 02 Oct 2010 06:07 AM PDT

Google Analytics Blog: Python Library for the Management API

It's been only 7 weeks since we've launched the Google Analytics Management API and we've heard a lot of great feedback. Thanks!

Since Python is one of our more popular languages, we've updated the Google Analytics Python Client Library to access all 5 feeds of the Management API. Now it's easier than ever to get your configuration data from the API. Awesome.

To show you how simple it is to use the library, here is an example which returns all the goal names for a profile:
import gdata.analytics.client

APP_NAME = 'goal_names_demo'
my_client = gdata.analytics.client.AnalyticsClient(source=APP_NAME)

# Authorize
my_client.client_login(
INSERT_USER_NAME,
INSERT_PASSWORD,
APP_NAME,
service='analytics')

# Make a query.
query = gdata.analytics.client.GoalQuery(
acct_id='INSERT_ACCOUNT_ID',
web_prop_id='INSERT_WEB_PROP_ID',
profile_id='INSERT_PROFILE_ID')

# Get and print results.
results = my_client.GetManagementFeed(query)
for entry in results.entry:
print 'Goal number = %s' % entry.goal.number
print 'Goal name = %s' % entry.goal.name
print 'Goal value = %s' % entry.goal.value

To get you started, we wrote a reference example which accesses all the important information for each feed. We also added links to the source and PyDoc from the Management API Libraries and Examples page. Have a look and let us know what you think!

Posted by Nick Mihailovski, Google Analytics API Team
URL: http://analytics.blogspot.com/2010/10/python-library-for-management-api.html

No comments:

Post a Comment