public IOneSkyResponse SignIn(string email, string password) { return (OneSkyHelper.CreateAnonymousRequest(SignInAddress) .Body(SignInEmailBody, email) .Body(SignInPasswordBody, password) .Post()); }
internal Plugin(OneSkyHelper oneSky) { this.Locale = new PluginLocale(oneSky); this.Specialization = new PluginSpecialization(oneSky); this.Project = new PluginProject(oneSky); this.Item = new PluginItem(oneSky); this.Quotation = new PluginQuotation(oneSky); this.Order = new PluginOrder(oneSky); this.Account = new PluginAccount(oneSky, OneSkyClient.Anonymous); this.LanguagePair = new PluginLanguagePair(oneSky); }
internal Platform(OneSkyHelper oneSky) { this.Locale = new PlatformLocale(oneSky); this.ProjectType = new PlatformProjectType(oneSky); this.ProjectGroup = new PlatformProjectGroup(oneSky); this.Project = new PlatformProject(oneSky); this.Quotation = new PlatformQuotation(oneSky); this.Order = new PlatformOrder(oneSky); this.File = new PlatformFile(oneSky); this.ImportTask = new PlatformImportTask(oneSky); this.Translation = new PlatformTranslation(oneSky); this.Screenshot = new PlatformScreenshot(oneSky); }
internal PluginProject(OneSkyHelper oneSky) { this.oneSky = oneSky; }
internal PlatformProjectGroup(OneSkyHelper oneSky) { this.oneSky = oneSky; }
internal PluginLocale(OneSkyHelper oneSky) { this.oneSky = oneSky; }
internal PlatformImportTask(OneSkyHelper oneSky) { this.oneSky = oneSky; }
private OneSkyClient(OneSkyHelper oneSky) { this.Platform = new Platform(oneSky); this.Plugin = new Plugin(oneSky); }
internal PluginOrder(OneSkyHelper oneSky) { this.oneSky = oneSky; }
internal PluginLanguagePair(OneSkyHelper oneSky) { this.oneSky = oneSky; }
internal PluginAccount(OneSkyHelper oneSky, IPluginAnonymous anonymous) { this.anonymous = anonymous; this.oneSky = oneSky; }
internal PluginItem(OneSkyHelper oneSky) { this.oneSky = oneSky; }
public IOneSkyResponse SignUp(string email) { return(OneSkyHelper.CreateAnonymousRequest(SignUpAddress).Body(SignUpEmailBody, email).Post()); }
/// <summary> /// Creates instance of OneSky client with your API keys. /// </summary> /// <param name="publicKey"> /// Public API key. /// </param> /// <param name="secretKey"> /// Secret API key. /// </param> /// <returns> /// Plain OneSky client <see cref="IOneSkyClient"/>. /// </returns> public static IOneSkyClient CreateClient(string publicKey, string secretKey) { var oneSky = new OneSkyHelper(publicKey, secretKey); return(new OneSkyClient(oneSky)); }
internal PlatformTranslation(OneSkyHelper oneSky) { this.oneSky = oneSky; }
internal PlatformProjectType(OneSkyHelper oneSky) { this.oneSky = oneSky; }
internal PlatformLocale(OneSkyHelper oneSky) { this.oneSky = oneSky; }
internal PluginSpecialization(OneSkyHelper oneSky) { this.oneSky = oneSky; }
internal PluginQuotation(OneSkyHelper oneSky) { this.oneSky = oneSky; }