pagekite on davidchua https://dchua.com/tags/pagekite/ Recent content in pagekite on davidchua Hugo -- gohugo.io en-us Sun, 31 Aug 2014 00:00:00 +0000 Authenticating with Pagekite API using Ruby https://dchua.com/posts/2014-08-31-authenticating-with-pagekite-api-using-ruby/ Sun, 31 Aug 2014 00:00:00 +0000 https://dchua.com/posts/2014-08-31-authenticating-with-pagekite-api-using-ruby/ If you’re using pagekite, you probably have read this document. It tells you how to connect to pagekite’s XMLRPC service to perform actions such as creating a new kite, checking your accounts etc. Their example is in python and if you’re like me, trying to figure out how to get it to work in Ruby, here’s my snippet: # lets do this - test.rb require 'xmlrpc/client' server = XMLRPC::Client.new_from_uri('https://pagekite.net/xmlrpc/') # note that you really need that trailing slash after /xmlrpc.