Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Google/GUrlShortener.cs @ 186:71737419a839
Ticket 143: Test de unidad, y algo de configuración para acortar URL con servicio de Google.
author | juanjose.montesdeocaarbos |
---|---|
date | Tue, 09 Aug 2011 08:43:25 -0300 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Google/GUrlShortener.cs Tue Aug 09 08:43:25 2011 -0300 @@ -0,0 +1,18 @@ +using System; +//using GoogleAPI.UrlShortener; + +namespace AltNetHispano.Agendas.Google +{ + public class GUrlShortener + { + public string GetShortUrl(string url) + { + //TODO: Esto es utilizando la GoogleAPI.UrlShortener. + //var client = new UrlResource(); + //var response = client.Insert(new ShortenRequest { LongUrl = url }); + + //return response.Id; + throw new NotImplementedException(); + } + } +} \ No newline at end of file