If anyone is fluent in python as well as C# using the cook computing xml-rpc.net library I could really use some help. I have been trying to write a C# program to access upcdatabase.com without much luck. I have a working python script. Would anyone be willing to show me the C# equivalent to this python script might be. Thank you
#!/usr/bin/env python # # import sys from xmlrpclib import ServerProxy, Error rpc_key = 'enter rpc_key here' if __name__=='__main__': if len(sys.argv) != 2: print 'Usage: fetchupc.py <upc>' exit else: s = ServerProxy('http://www.upcdatabase.com/xmlrpc') params = { 'rpc_key': rpc_key, 'upc': sys.argv[1] } print s.lookup(params) -- http://mail.python.org/mailman/listinfo/python-list