diff pyikriam/example.py @ 62:a4c364888197

add ikriam game binding lib python version
author hychen@mluna
date Wed, 22 Oct 2008 04:04:32 +0800
parents
children 19d2a7b175b3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pyikriam/example.py	Wed Oct 22 04:04:32 2008 +0800
@@ -0,0 +1,6 @@
+from __init__ import Ikariam
+
+i = Ikariam(server='s1.ikariam.tw', username='hychen', password='')
+city = i.city(117261)
+city.sync()
+print 'gold is'+city.gold