Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import com.google.jplurk.*
- class Mothership {
- def API_KEY = '**************************'
- def __user = '******'
- def __pass = '******'
- def client = null
- def Mothership() {
- client = new PlurkClient(new ISettings.Simple(API_KEY, Lang.tr_ch))
- client.login(__user, __pass)
- }
- def plurk(text, qualifier) {
- client.plurkAdd text, qualifier
- }
- static main(args) {
- def ship = new Mothership()
- ship.plurk 'Groovy-Plurk-Bot Testing!', Qualifier.LOVES
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement