Skip Menu |

This queue is for tickets about the REST-Google CPAN distribution.

Report information
The Basics
Id: 66637
Status: open
Priority: 0/
Queue: REST-Google

People
Owner: Nobody in particular
Requestors: peter [...] dragonstaff.co.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.0.8
Fixed in: (no value)



Subject: Doesn't support Google commercial API v2.0
Hi, Google have updated their API to v2.0, would you consider adding support? https://code.google.com/apis/language/translate/v2/using_rest.html The v1 URL is hard-coded in the module so unfortunately I cannot override it. The difference in URLs is # API v1 GET https://ajax.googleapis.com/ajax/services/language/translate? v=1.0&q=Hello,%20my%20friend!&langpair=en%7Ces # API v2 GET https://www.googleapis.com/language/translate/v2?key=INSERT- YOUR-KEY&q=hello%20world&source=en&target=de Thanks, Peter
I uploaded package REST::Google::Translate2 to CPAN to use Google Translate API v2 with the REST::Google framework. Feel free to incorporate into the REST::Google distribution with or without attribution. Marty O'Brien mob@cpan.org