Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Repository files navigation

PolarisILSKit

PolarisILSKit was a .NET Standard 2.0 library for communicating with the Polaris ILS, which was available as a package from the NuGet Gallery.

This project was archived in March of 2026. If you wish to integrate with the Polaris ILS using the Polaris API using C#, investigate the Clc.Polaris.Api NuGet package which utilizes the CLC Polaris API Helper Library upon which this package was based.

Using the Polaris API Helper Library

Staff account credentials are only required for protected methods and overriding public methods

Installation

Install-Package PolarisILSKit -Pre

Usage

Public Method

var papi = new PapiClient
            {
                AccessID = "your-access-id",
                AccessKey = "your-access-secret",
                BaseUrl = "https://papi.yoursite.org"
            };

            var patron = papi.PatronCirculateBlocksGet("123000000456", "0000");
            Console.WriteLine($"Hello {patron.Data.NameFirst}");

Protected Method

var papi = new PapiClient
            {
                AccessID = "your-access-id",
                AccessKey = "your-access-secret",
                BaseUrl = "https://papi.yoursite.org",
                StaffOverrideAccount = new PolarisUser
                {
                    Domain = "domain",
                    Username = "staff",
                    Password = "password"
                }
            };

            var value = papi.SA_GetValueByOrg(1, "orgphone1");
            Console.WriteLine(value);

Public Method Override

var papi = new PapiClient
            {
                AccessID = "your-access-id",
                AccessKey = "your-access-secret",
                BaseUrl = "https://papi.yoursite.org",
                StaffOverrideAccount = new PolarisUser
                {
                    Domain = "domain",
                    Username = "staff",
                    Password = "password"
                }
            };

            var patron = papi.PatronBasicDataGetOverride("123000000456");
            Console.WriteLine($"Hello {patron.Data.PatronBasicData.NameFirst}");

License

The basis of this project (CLC Polaris API Helper Library) was released under the GPL v3.0 license requiring all changes to be released under the same license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages