open_library library

Classes

OpenLibrary
OpenLibrary class to support an easy way to consume openlibrary.org api Version 0.1.4 Author: Andreas Lange Published in 2022 Licensed under the MIT License

Enums

CoverSize
CoverSizes S = small, M = medium, L = large for loading covers
SearchLanguage
This enumberation SearchLanguage uses values from https://en.wikipedia.org/wiki/List_of_languages_by_number_of_native_speakers for shortcuts ordered by native speakers (3 first letters) exceptions: Japanese = jpn, multi lingual = mul, undetermined = und, empty = none
SearchPatterns
Use this enum SearchPatterns to render the search like pattern=value

Extensions

StringExtension on String
This String Extension toJSONPattern helps to stringify search patterns as key pairs like title=Harry%Potter and combines them with url encoded &