London Perl 6 Hackday?

2014-01-13 Thread Steve Mynott
Any interest in a Perl 6 Hackday? I was thinking of seeing if it would be possible to use the London Hackspace (or somewhere else) for a day at the weekend sometime in the next couple of months. There are some suggested tasks, mainly of which are simple and can be easily tackled by Perl 6 beginne

Re: LWP::UserAgent and Google

2014-01-13 Thread mspam
It's easy enough, here's some code I wrote a few weeks back: my $mech = $self->{mech} = WWW::Mechanize->new(); $mech->cookie_jar(HTTP::Cookies->new()); $mech->get('https://www.google.com/accounts/ServiceLogin'); $mech->form_number(1); $mech->field(Email => $USER); $mech->f

Re: LWP::UserAgent and Google

2014-01-13 Thread Avishalom Shalit
here is a non official way to do so without logging in (for a few attempts, with- for more) http://stackoverflow.com/questions/17080127/api-alternative-to-google-trends/18082512#18082512 it works - i just tested it link for the lazy http://www.google.com/trends/fetchComponent?q=google,apple&cid=TI

Re: LWP::UserAgent and Google

2014-01-13 Thread Yitzchak Scott-Thoennes
Heh; wikipedia says: "An API to accompany the Google Trends service was announced by Marissa Mayer, former vice president of search-products at Google. This was announced in 2007, and so far has not been released." On Mon, Jan 13, 2014 at 9:54 AM, Alan Mosca wrote: > Hi guys, > > Has anyone had e

LWP::UserAgent and Google

2014-01-13 Thread Alan Mosca
Hi guys, Has anyone had experience logging into google accounts (possibly using LWP::UserAgent)? I'm trying to extract data from google trends (which doesn't have an API) and found some examples in Python, but they all seem outdated, so whatever mechanism they were using doesn't seem to work anymo