Skip to content

gokay/SierraLibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SierraLibrary

JHAvLX.jpg JHASBn.png JHAU1s.png

About

SierraFunctions class implements functions to make Sierra Apis call using Excel-DNA

Build

Clone repo in VS2019 and change base_url and header_basic_auth in SierraFunctions class according to SIERRA API Documentation then build.

Installation

Open Excel then click on Developer tab and click Excel Add-ins button. Click Browse... button. Select SierraLibrary-AddIn.xll file in SierraLibrary\bin\Release directory.

JHGRRe.png

After install Excel Add-ins you can see all implemented functions in sierra category.

JHGliQ.png

Functions

About()

Returns author information.

Sample usage: =About()

JHGE0B.png

GetToken()

Returns token.

Sample usage: =GetToken()

Sample output in Postman

		 {
		   "access_token": "v0Qvd3EscNjMPF9zH606RebLuOaVrTuG6Bs9Vf1_cPFxRKCJPWSbTPOlTOi-bLF17Hcl-8-A2UdTvyMhZfIDATYKLgnh5y_02xNqYq9PGIQ",
		   "token_type": "bearer",
		   "expires_in": 3600
		 }
Barcode2Id()

Returns patron id by barcode.

Sample usage: = Barcode2Id("1845")

JHGwzJ.png

JHGNWv.png

JHGkfp.png

Barcode2Name()

Returns patron name by barcode.

Sample usage: =Barcode2Name("1845")

JHG8gI.png

JHGUJt.png

JHGg5X.png

Barcode2Email()

Returns patron e-mail by barcode.

Sample usage: =Barcode2Email("1845")

JHGren.png

JHG4bs.png

JHGiXf.png

Barcode2PatronType()

Returns patron type by barcode.

Sample usage: =Barcode2PatronType("1845")

JHGQql.png

JHGZ12.png

JHGtgS.png

Barcode2MoneyOwed()

Returns patron money owed by barcode.

Sample usage: =Barcode2MoneyOwed("1845")

JHGm79.png

JHGpee.png

JHGymu.png

Barcode2CheckoutItems()

Returns checkout items by barcode.

Sample usage: =Barcode2CheckoutItems("1845")

JHMdLx.png

JHMF1V.png

JHMnmg.png

Item2BibId()

Returns bib id by item.

Sample usage: =Item2BibId("1136526")

JHMzhJ.png

JHMILv.png

JHMuBR.png

BibId2Title()

Returns title by bib id.

Sample usage: =BibId2Title("1159654")

JHMA1p.png

JHM72I.png

JHMY7t.png

License

Copyright (c) Gokay Gursoy. All rights reserved.

Licensed under the MIT License.

Free Software

Made with ❤ in Turkey

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages