public static JustGivingMobileClient Create(ApiContext context)
 {
     return new JustGivingMobileClient(new ClientConfiguration(context.ApiLocation, context.ApiKey, 1)
     {
         Username = context.Username,
         Password = context.Password,
         WireDataFormat = WireDataFormat.Xml
     });
 }
 public static void SetApiContext(string username, string password)
 {
     ApiContext = new ApiContext {Username = username, Password = password};
     Client = ApiClientFactory.Create(ApiContext);
 }