<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>api on S Anand</title>
    <link>https://www.s-anand.net/blog/tag/api/</link>
    <description>Recent content in api on S Anand</description>
    <generator>Hugo -- 0.164.0</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 20 May 2009 05:15:32 +0000</lastBuildDate>
    <atom:link href="https://www.s-anand.net/blog/tag/api/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Short notes</title>
      <link>https://www.s-anand.net/blog/short-notes/</link>
      <pubDate>Wed, 20 May 2009 05:15:32 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/short-notes/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m quite busy on a project right now, and don&amp;rsquo;t get time to write long articles. So for a while, I&amp;rsquo;m going to stick to short notes on interesting stuff.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Peter Bregman has a very interesting piece on &lt;a href=&#34;http://blogs.harvardbusiness.org/bregman/2009/05/why-you-should-encourage-weakn.html&#34;&gt;Why You Should Encourage Weakness&lt;/a&gt;. It boils down to a choice: &lt;strong&gt;do you focus on on improving strengths or minimising weaknesses?&lt;/strong&gt; Conventional performance evaluations focus on the latter. I very strongly support Bregman’s view on this. &lt;strong&gt;The weakness isn’t why you hired the person!&lt;/strong&gt; Unless it’s killing the organisation, just leave them to focus on their strengths.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.google.com/analytics/&#34;&gt;Google Analytics&lt;/a&gt; has a fairly interesting &lt;a href=&#34;http://code.google.com/apis/analytics/docs/&#34;&gt;API&lt;/a&gt; that I hadn’t explored until recently. Picked up [Advanced Web Metrics with Google Analytics](&lt;a href=&#34;http://www.s-anand.net/amazon-browser.html#advanced&#34;&gt;http://www.s-anand.net/amazon-browser.html#advanced&lt;/a&gt; web metrics with google analytics) and learnt that you can track outbound clicks, page load times, Javascript events and error logs, almost anything at all using Google Analytics. You can also mirror the logging on your local server using pageTracker._setLocalRemoteServerMode()&lt;/li&gt;
&lt;li&gt;The whole concept of a Sandbox environment seems to be picking up within Google. There’s a &lt;a href=&#34;https://sandbox.google.com/checkout/&#34;&gt;Checkout sandbox&lt;/a&gt;, an &lt;a href=&#34;http://code.google.com/apis/ajax/playground/&#34;&gt;AJAX API playground&lt;/a&gt;, an &lt;a href=&#34;http://adwordsapi.blogspot.com/2009/05/adwords-api-on-app-engine-python.html&#34;&gt;AdWords sandbox&lt;/a&gt;, an &lt;a href=&#34;http://code.google.com/apis/adsense/developer/adsense_api_sandbox.html&#34;&gt;AdSense API sandbox&lt;/a&gt;, the &lt;a href=&#34;http://mapstraction.appspot.com/&#34;&gt;Mapstraction API sandbox&lt;/a&gt;, even an event called &lt;a href=&#34;http://code.google.com/events/io/sandbox.html&#34;&gt;Developer Sandbox&lt;/a&gt;. (After saying Sandbox 6 times, I feel a bit like Hobbes.)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;http://picayune.uclick.com/comics/ch/1992/ch920623.gif&#34;&gt;&lt;/p&gt;
</description>
    </item>
    <item>
      <title>The hunt for a Twitter client</title>
      <link>https://www.s-anand.net/blog/the-hunt-for-a-twitter-client/</link>
      <pubDate>Fri, 21 Nov 2008 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/the-hunt-for-a-twitter-client/</guid>
      <description>&lt;p&gt;I hadn&amp;rsquo;t jumped on to the &lt;a href=&#34;http://www.twitter.com/&#34;&gt;Twitter&lt;/a&gt; bandwagon for a while. I&amp;rsquo;m not much of a conversationalist, nor am I a very sociable. I also tend to stay away from social networks. But I figured I would try Twitter out for a while, mostly because it&amp;rsquo;s an outlet for short comments. For long articles, I have my blog. For sharing links, I have &lt;a href=&#34;http://www.google.com/reader/shared/16836184467750910501&#34;&gt;Google Reader&lt;/a&gt; and &lt;a href=&#34;http://del.icio.us/sanand0&#34;&gt;del.icio.us&lt;/a&gt;. I don&amp;rsquo;t quite have anything for that occasional moment when I &lt;a href=&#34;http://twitter.com/sanand0/status/1011863752&#34;&gt;want to say&lt;/a&gt;, &amp;ldquo;Hey! A great way to shred mint leaves is to &lt;strong&gt;freeze&lt;/strong&gt; them!&amp;rdquo;&lt;/p&gt;
&lt;p&gt;The question is what client to use. I wanted something free, portable and featherweight (as in lighter than lightweight: no additional memory usage.)&lt;/p&gt;
&lt;p&gt;SMS is the classic Twitter channel. But I don&amp;rsquo;t like being bothered by SMS messages often. Besides, it&amp;rsquo;s not free. So that&amp;rsquo;s out.&lt;/p&gt;
&lt;p&gt;The next best would be e-mail via my BlackBerry. The problem is, Twitter doesn&amp;rsquo;t accept tweets via e-mail. So when looking for alternatives, I found &lt;a href=&#34;http://identi.ca/&#34;&gt;Identi.ca&lt;/a&gt;, which is even better than Twitter except for the fact that it doesn&amp;rsquo;t have Twitter&amp;rsquo;s user base. Anyway, it accepted e-mail, so that was fine.&lt;/p&gt;
&lt;p&gt;On the desktop, the browser is the obvious choice. But somehow, going to the &lt;a href=&#34;http://twitter.com/home&#34;&gt;Twitter home page&lt;/a&gt; and typing out a tweet felt so&amp;hellip; Web 1.0. I didn&amp;rsquo;t fashion installing a client just for tweeting, like &lt;a href=&#34;http://www.twhirl.org/&#34;&gt;Twhirl&lt;/a&gt;. The closest was instant messenger software. Since &lt;a href=&#34;http://laconi.ca/trac/wiki/Documentation#usageXMPP&#34;&gt;Identi.ca accepts messages via XMPP&lt;/a&gt;, I could install &lt;a href=&#34;http://talk.google.com/&#34;&gt;Google Talk&lt;/a&gt; and send messages via instant messenger.&lt;/p&gt;
&lt;p&gt;That worked for a couple of weeks. Then I pulled out. Instant messenger has the disadvantage of making you accessible, and I honestly don&amp;rsquo;t have the time. Plus, I don&amp;rsquo;t fancy running apps persistently, not even something as light as Google Talk. So back to square one.&lt;/p&gt;
&lt;p&gt;In the meantime, I was having another problem with sending updates via BlackBerry. My corporate mails have a &lt;a href=&#34;http://identi.ca/notice/238449&#34;&gt;HUGE disclaimer&lt;/a&gt; attached to them. Doesn&amp;rsquo;t make sense to have 140 character message followed by a 940 character disclaimer. I&amp;rsquo;d have to get rid of those anyway.&lt;/p&gt;
&lt;p&gt;After a bit of digging around, I came across mail handlers. I can write a program on &lt;a href=&#34;http://www.s-anand.net/&#34;&gt;my server&lt;/a&gt; to handle mails. So I wrote one that strips out the disclaimer and forwards it to my identi.ca e-mail ID. (Now I&amp;rsquo;ve modified it to use the &lt;a href=&#34;http://laconi.ca/trac/wiki/API&#34;&gt;API&lt;/a&gt;.) So that solves my mobile twittering problem.&lt;/p&gt;
&lt;p&gt;It also solves my cross-posting problem. I maintain a &lt;a href=&#34;http://twitter.com/sanand0&#34;&gt;twitter.com/sanand0&lt;/a&gt; and an &lt;a href=&#34;http://identi.ca/sanand0&#34;&gt;identi.ca/sanand0&lt;/a&gt; account and keep them updated in parallel. My mail handler updates the post on both services.&lt;/p&gt;
&lt;p&gt;As for the desktop, I have the best solution of all. I use the browser address bar to twitter. I&amp;rsquo;ve created a keyword search with the keyword &amp;ldquo;twitter&amp;rdquo; with is keyed to a URL like &lt;code&gt;http://www.s-anand.net/twitter/%s&lt;/code&gt;. So if I say &amp;ldquo;twitter Some message&amp;rdquo; on the address bar and press enter, it contacts the server, which updates Identi.ca and Twitter using the API.&lt;/p&gt;
&lt;p&gt;Of course, you don&amp;rsquo;t really need to do that to update Twitter. Just create a keyword search with a keyword &amp;ldquo;twitter&amp;rdquo; and a URL &lt;code&gt;http://twitter.com/home?status=%s&lt;/code&gt;, and you&amp;rsquo;re done. Remember: you can create keyword searches in Internet Explorer as well (&lt;a href=&#34;https://www.s-anand.net/blog/keyword-searches-as-a-web-command-line/&#34;&gt;read how&lt;/a&gt;). With this, you can update twitter from the address bar by just typing &amp;ldquo;twitter your message goes here&amp;rdquo;.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;Anyway, that was a long-winded way of saying just two things.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Mail handlers are cool.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.s-anand.net/blog/keyword-searches-as-a-web-command-line/&#34;&gt;Keyword searches&lt;/a&gt; let you update Twitter from the address bar using the URL &lt;code&gt;http://twitter.com/home?status=%s&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments&lt;/h2&gt;
&lt;!-- wp-comments-start --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Ashish&lt;/strong&gt; &lt;em&gt;21 Nov 2008 11:32 am&lt;/em&gt;:
Did you try Twitterbar extension in Firefox?&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Kiran&lt;/strong&gt; &lt;em&gt;22 Nov 2008 1:32 pm&lt;/em&gt;:
Twitterfox - nice, and unobtrusive enough browser extension. Twitterbar - does the stuff you mentioned as part of the keyword-searches experiment&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;S Anand&lt;/strong&gt; &lt;em&gt;23 Nov 2008 2:10 am&lt;/em&gt;:
Thanks Ashish, Kiran &amp;ndash; didn&amp;rsquo;t know about those. Except, I&amp;rsquo;ve moved to Google Chrome&lt;br&gt;
these days (mostly for its memory management). But will get back to trying&lt;br&gt;
these once Firefox 3.10 is out of Beta,&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;somnath&lt;/strong&gt; &lt;em&gt;1 Dec 2008 2:40 am&lt;/em&gt;:
As usual you have come up with something cool and original :) I am still using web for Tweeting &amp;hellip; TweetDeck did not work for me checking Twhirl now&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Vivek Sonny Abraham&lt;/strong&gt; &lt;em&gt;6 Dec 2008 9:20 am&lt;/em&gt;:
Or you could use TwitterBerry (&lt;a href=&#34;http://www.orangatame.com/products/twitterberry/&#34;&gt;http://www.orangatame.com/products/twitterberry/&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Sai&lt;/strong&gt; &lt;em&gt;8 Dec 2008 9:50 pm&lt;/em&gt;:
:) good post! I finally got on to the social network bandwagon myself last year and found the experience quite enjoyable. Biggest benefit was obviously the ability to connect with old friends. Use twitter as well, but not as much. Hope all&amp;rsquo;s well.&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- wp-comments-end --&gt;
</description>
    </item>
    <item>
      <title>Web 2.0 Matrix</title>
      <link>https://www.s-anand.net/blog/web-2-0-matrix/</link>
      <pubDate>Wed, 28 Sep 2005 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/web-2-0-matrix/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.programmableweb.com/matrix&#34;&gt;Web 2.0 Matrix&lt;/a&gt;. What APIs have been mashed up with what other APIs, and where.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>BBC Backstage</title>
      <link>https://www.s-anand.net/blog/bbc-backstage/</link>
      <pubDate>Sun, 04 Sep 2005 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/bbc-backstage/</guid>
      <description>&lt;p&gt;BBC seems to be doing good work for developers at &lt;a href=&#34;http://backstage.bbc.co.uk/&#34;&gt;BBC Backstage&lt;/a&gt;. &lt;a href=&#34;http://www.plasticbag.org/&#34;&gt;Tom Coates&lt;/a&gt; and &lt;a href=&#34;http://www.hackdiary.com/&#34;&gt;Matt Biddulph&lt;/a&gt; are among those involved.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>100 Amazon Hacks</title>
      <link>https://www.s-anand.net/blog/100-amazon-hacks/</link>
      <pubDate>Thu, 31 Mar 2005 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/100-amazon-hacks/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://hacks.oreilly.com/pub/ht/24&#34;&gt;100 Amazon hacks&lt;/a&gt;.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>code.google.com</title>
      <link>https://www.s-anand.net/blog/code-google-com/</link>
      <pubDate>Tue, 22 Mar 2005 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/code-google-com/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://code.google.com/&#34;&gt;code.google.com&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments&lt;/h2&gt;
&lt;!-- wp-comments-start --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;ritzkini&lt;/strong&gt; &lt;em&gt;24 Mar 2005 5:18 am&lt;/em&gt;:
google rocks !!&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- wp-comments-end --&gt;
</description>
    </item>
  </channel>
</rss>
