Blog Articles by tag: OpenSource

RSS feed

Python Twitter API v1.1 Released

09 Sep 2009

Hi all!
So I've just made a couple of small additions to my Twitter API wrapper recently. Twitter limits the number of requests that a client can request data, as such if my wrapper was used on a high traffic site for example, the limit of requests could be reached very quickly.

I've added caching functionality which saves requested data on a minute by minute basis. E.g. if a request is made where the cached data is older than 1 minute, the data from that request is cached in order for any subsequent requests to use that data rather than many a new request to Twitter. This is beneficial in both allowing your tweets will be shown regardless of the number of requests that are made, and that it also speeds up the process.

The other improvement is the wrapper is now generating hyperlinks around hashtags, user mentions and URLs within each tweet. For an exampl...read more

Python Twitter API v1

17 Aug 2009

Ok so this is a first on many levels; my first blog post for this site as well as my first project, app, library (call it what you will) that I am releasing into the ether. As the Twitter phenomenon has very quickly gathered speed, more and more people are trying to access its features; whether its pulling in your latest tweets into your webpage or tweeting directly from your desktop! One of the issues which some people are finding is that quite often if their website is hosted by a company, they may not have permission to install libraries, plugins etc for use in their website.

In order to save face, I thought I had better start pulling my Tweets into this site. So I went to download the Python APIs that other developers have written, but they required me to install the packages before I could use them. This is when I t...read more

Developed by Grail Technology, hosted by DjangoEurope, powered by Django