Upcoming.org Modules
Published Sun May 08th 2005 in Java Upcoming.org Python
Python
Download 0.1
Example
import Upcoming
u = Upcoming.Upcoming('username', 'password', 'key')
events = u.searchForEvents('Shins')
for e in events:
print e.id + ' : ' + e.name
Output
14138 : The Shins
17314 : The Shins
17002 : The Shins
Upcoming.py Pydoc
ApiFilters.py Pydoc
Java
Download 0.3.
Example
import java.util.ArrayList;
import com.socialistsoftware.upcoming.*;
public class UpTest {
public static void main(String[] args) {
Upcoming up = new Upcoming("username", "password", "key");
ArrayList lists = up.getWatchlist();
for (int i = 0; i < lists.size(); i++){
Watchlist w = (Watchlist)lists.get(i);
String id = w.getEventId();
Event e = (Event)up.getEventInfo(id).get(0);
System.out.println(w.getEventId() + " : " + e.getName());
}
}
}
Output
12447 : The Decemberists, Okkervill River
14135 : Q and not U
15001 : Fiery Furnaces, Dios Malos
14138 : The Shins
15517 : Electric Six and VHS or Beta
15516 : Built to Spill
15515 : Built to Spill
15737 : The Mars Volta
17074 : ... And you Will Know Us by the Trail of the Dead w/ International Noise Conspiracy and We Are Wolves
17078 : Spoon w/ The Clientele
18294 : Maroon 5
18543 : Nuggets vs Spurs
19323 : testEventName
19449 : WeedenFete
The javadoc is here.
Latest
Xbox Live Gamercard
-
Retweeting @Squeat: Hug a developer! ยป http://svvarm.com/raI just saw a Woodleys.com ad on TV and thought, "huh, I built that" well @twentystar helped ;)Riot police - Photo: http://bkite.com/01onH

Riot police
Jackass on a segway