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
-
Who is doing @refreshdenver tonight at Forest Room Five?500,000 points to whoever gets @dwiskus reference. @kylerichter I know you could use some points.I'm not going to tell you what my GameCenter username is. I'll leave it up to you smart people to guess.Photos help. Mmmmmmmm TPS Report. http://yfrog.com/nadaoqjI just drove this around Los Alamitos. http://yfrog.com/n3f4bfjIt's been a great week at @doubleencore. A lot of progress on a lot of apps.
