


#import cdata.wordpress as mod
#user = input("Username: ")
#password = input("Pass: ")

#connection = mod.connect("URL=http://localhost/testsite/wp-admin/;User=;Password=;InitiateOAuth=GETANDREFRESH;OAuthClientId=1;OAuthClientSecret=QQB2sKjzLOmOAO8uK25e8eF2kimI3KTadB53BadufDl9LgoG;CallbackURL=http://localhost:portnumber;")
#connection = mod.connect("URL=http://localhost/testsite/;User={};Password={};".format(user, password))
#wp_cursor = connection.cursor()
#print(wp_cursor)
#wp_cursor.execute("SELECT ID, Name FROM wp_users")
#rs = wp_cursor.fetchall()
#for row in rs:
 #   print(row)




#import cdata.wordpress as mod
#user = input("Username: ")
#password = input("Pass: ")

#connection = mod.connect("URL=http://localhost/testsite/wp-admin/;User=;Password=;InitiateOAuth=GETANDREFRESH;OAuthClientId=1;OAuthClientSecret=QQB2sKjzLOmOAO8uK25e8eF2kimI3KTadB53BadufDl9LgoG;CallbackURL=http://localhost:portnumber;")
#connection = mod.connect("URL=http://localhost/testsite/;User={};Password={};".format(user, password))
#wp_cursor = connection.cursor()
#print(wp_cursor)
#wp_cursor.execute("SELECT ID, Name FROM wp_users")
#rs = wp_cursor.fetchall()
#for row in rs:
 #   print(row)

#import cdata.wordpress as mod #user = input("Username: ") #password = input("Pass: ") #connection = mod.connect("URL=http://localhost/testsite/wp-admin/;User=;Password=;InitiateOAuth=GETANDREFRESH;OAuthClientId=1;OAuthClientSecret=QQB2sKjzLOmOAO8uK25e8eF2kimI3KTadB53BadufDl9LgoG;CallbackURL=http://localhost:portnumber;") #connection = mod.connect("URL=http://localhost/testsite/;User={};Password={};".format(user, password)) #wp_cursor = connection.cursor() #print(wp_cursor) #wp_cursor.execute("SELECT ID, Name FROM wp_users") #rs = wp_cursor.fetchall() #for row in rs: #   print(row)