MCPcopy Create free account

hub / github.com/internetarchive/openlibrary / functions

Functions6,179 in github.com/internetarchive/openlibrary

↓ 1 callersFunctiongetSeedType
* Returns the inferred type of the given seed key. * * @param {string} seed * @returns {string} Type of the given seed key.
openlibrary/plugins/openlibrary/js/lists/ShowcaseItem.js:208
↓ 1 callersMethodgetSelectableRange
* Sets of selectable elements are sometimes HTML siblings and sometimes not. This function * hides that complexity by finding the common parent b
openlibrary/plugins/openlibrary/js/ile/utils/SelectionManager/SelectionManager.js:128
↓ 1 callersMethodgetSelectedDay
* Returns the numeric value of the selected day. * * @returns {number|null} The selected day, or `null` if none selected
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:739
↓ 1 callersMethodgetSelectedMonth
* Returns the numeric value of the selected month. * * @returns {number|null} The selected month, or `null` if none selected
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:730
↓ 1 callersMethodgetSelectedYear
* Returns the numeric value of the selected year. * * @returns {number|null} The selected year, or `null` if none selected
openlibrary/plugins/openlibrary/js/my-books/MyBooksDropper/CheckInComponents.js:721
↓ 1 callersMethodgetThings
* @param {string[]} keys * @returns {AsyncGenerator<object[]>}
openlibrary/plugins/openlibrary/js/lazy-thing-preview.js:66
↓ 1 callersMethodgetUserKey
* @returns {string}
openlibrary/plugins/openlibrary/js/my-books/store/index.js:54
↓ 1 callersFunctiongetWork
(isbn)
openlibrary/plugins/openlibrary/js/goodreads_import.js:160
↓ 1 callersFunctionget_account_loan_history_json
(user: User, page: int)
openlibrary/plugins/upstream/account.py:1307
↓ 1 callersFunctionget_account_loans_json
(user: User)
openlibrary/plugins/upstream/account.py:1301
↓ 1 callersFunctionget_acquisitions
(solr_edition: dict, edition: Edition)
openlibrary/book_providers.py:811
↓ 1 callersMethodget_acquisitions
( self, ed_or_solr: Edition | dict, )
openlibrary/book_providers.py:272
↓ 1 callersFunctionget_active_availability
Return the availability value ('all'/'readable'/'borrowable'/'open') currently active for `param`. Mirrors availabilityFromParams() in search-
openlibrary/plugins/worksearch/code.py:153
↓ 1 callersFunctionget_all_store_values
Get all values by paging through all results. Note: adds store_key with the row id.
openlibrary/plugins/upstream/borrow.py:345
↓ 1 callersMethodget_all_subfields
(self)
openlibrary/catalog/marc/marc_binary.py:73
↓ 1 callersMethodget_all_tag_lines
(self)
openlibrary/catalog/marc/marc_binary.py:141
↓ 1 callersMethodget_all_works_ratings
(cls, work_id)
openlibrary/core/ratings.py:138
↓ 1 callersMethodget_annotated_seeds
(self)
openlibrary/plugins/openlibrary/lists.py:119
↓ 1 callersFunctionget_author_exclusions
Returns the set of excluded author keys from config. Reads ``author_exclusions`` from openlibrary.yml (a list of full author keys such as ``[
openlibrary/core/helpers.py:331
↓ 1 callersFunctionget_authors
(work)
openlibrary/core/lists/engine.py:11
↓ 1 callersFunctionget_authors
Returns a dict of author_key to {"key", "...", "name": "..."} for all authors in docs.
openlibrary/plugins/books/dynlinks.py:396
↓ 1 callersFunctionget_authors
(doc)
openlibrary/plugins/openlibrary/home.py:316
↓ 1 callersFunctionget_availabilities
(items: list)
openlibrary/core/lending.py:523
↓ 1 callersFunctionget_available_async
Experimental. Retrieves a list of available editions from archive.org advancedsearch which are available, in the inlibrary collection, and opt
openlibrary/core/lending.py:248
↓ 1 callersMethodget_batch_archived
(self, start_id=None)
openlibrary/coverstore/archive.py:266
↓ 1 callersFunctionget_blog_feeds
()
openlibrary/plugins/upstream/utils.py:1435
↓ 1 callersMethodget_booknotes_for_work
(cls, work_id)
openlibrary/core/booknotes.py:65
↓ 1 callersFunctionget_bookreader_stream_url
(itemid: str)
openlibrary/plugins/upstream/borrow.py:338
↓ 1 callersFunctionget_borrow_status
Returns borrow status for this IA identifier.
openlibrary/plugins/upstream/borrow.py:308
↓ 1 callersFunctionget_bot_accounts
Returns a list of all `thing` table IDs that are associated with bot accounts.
openlibrary/admin/numbers.py:68
↓ 1 callersFunctionget_cached_featured_subjects
()
openlibrary/plugins/openlibrary/home.py:264
↓ 1 callersMethodget_cached_pub_sub_feed
(cls, username)
openlibrary/plugins/upstream/mybooks.py:689
↓ 1 callersFunctionget_cached_reading_log_stats
(limit: int)
openlibrary/views/loanstats.py:125
↓ 1 callersFunctionget_cached_recently_modified_lists
(limit, offset=0)
openlibrary/plugins/openlibrary/lists.py:1097
↓ 1 callersMethodget_cached_trending_feed
(cls, username)
openlibrary/plugins/upstream/mybooks.py:733
↓ 1 callersFunctionget_candidates_url
( day: datetime.date, marcs: bool = True, )
openlibrary/core/ia.py:331
↓ 1 callersMethodget_change_url
(self, change)
openlibrary/plugins/upstream/recentchanges.py:139
↓ 1 callersFunctionget_changes_v1
(query: dict[str, str | int], revision: int | None = None)
openlibrary/plugins/upstream/utils.py:420
↓ 1 callersFunctionget_changes_v2
(query: dict[str, str | int], revision: int | None = None)
openlibrary/plugins/upstream/utils.py:448
↓ 1 callersFunctionget_colon_only_loc_pub
Get a tuple of a location and publisher name from an Internet Archive publisher string. For use in simple location-publisher pairs with one c
openlibrary/plugins/upstream/utils.py:1530
↓ 1 callersFunctionget_comment
(change)
openlibrary/plugins/upstream/utils.py:470
↓ 1 callersFunctionget_config_info
Parses the config file(s) to get back all the necessary pieces of data. Add extra parameters here and change the point of calling.
openlibrary/admin/stats.py:47
↓ 1 callersMethodget_constant
(self, name)
openlibrary/utils/schema.py:87
↓ 1 callersFunctionget_content_type
(filename)
openlibrary/coverstore/utils.py:182
↓ 1 callersMethodget_cookie_time
(self)
openlibrary/core/processors/invalidation.py:110
↓ 1 callersFunctionget_counts
Generate counts for various operations which will be given to the index page
openlibrary/plugins/admin/code.py:535
↓ 1 callersMethodget_cover
(self)
openlibrary/core/lists/model.py:567
↓ 1 callersMethodget_cover_url
(cls, cover_id, size="", ext="zip", protocol="https")
openlibrary/coverstore/archive.py:301
↓ 1 callersMethodget_covers
This methods excludes covers that are -1 or None, which are in the data but should not be.
openlibrary/plugins/upstream/models.py:65
↓ 1 callersMethodget_covers_from_solr
(self)
openlibrary/plugins/upstream/models.py:477
↓ 1 callersFunctionget_dark_ol_editions
(s3_keys, rows=10_000, since=None, until=None, statefile=None)
scripts/update_stale_ocaid_references.py:54
↓ 1 callersMethodget_data
(self)
openlibrary/plugins/upstream/account.py:1175
↓ 1 callersMethodget_database_version
(self, db)
scripts/migrate_db.py:90
↓ 1 callersFunctionget_datetime_for_years_from_now
Get a datetime for now +/- x years.
openlibrary/tests/catalog/test_utils.py:238
↓ 1 callersMethodget_default_cover
(self)
openlibrary/core/models.py:1230
↓ 1 callersMethodget_default_cover
(self)
openlibrary/core/lists/model.py:332
↓ 1 callersFunctionget_default_offset
()
scripts/solr_updater/solr_updater.py:47
↓ 1 callersMethodget_default_preferences
(self)
openlibrary/core/models.py:902
↓ 1 callersFunctionget_dev_merged_status
()
openlibrary/plugins/openlibrary/status.py:216
↓ 1 callersFunctionget_doc
(key: str, revision: int)
openlibrary/plugins/admin/code.py:110
↓ 1 callersMethodget_doc
(self, key)
openlibrary/plugins/openlibrary/lists.py:308
↓ 1 callersFunctionget_ebook_access_availability
(ocaid: str, ebook_access: EbookAccess)
openlibrary/core/lending.py:354
↓ 1 callersMethodget_ebook_info
Returns the ebook info with the following fields. * read_url - url to read the book * borrow_url - url to borrow the book * b
openlibrary/core/models.py:685
↓ 1 callersMethodget_edition
(self)
openlibrary/plugins/upstream/models.py:904
↓ 1 callersFunctionget_edition_ddcs
(ed: dict)
openlibrary/solr/updater/work.py:691
↓ 1 callersMethodget_editions
Returns the editions objects belonging to this list.
openlibrary/core/lists/model.py:184
↓ 1 callersMethodget_editions_of_work
(self, work: Work)
openlibrary/plugins/openlibrary/api.py:464
↓ 1 callersMethodget_editions_of_work
:param dict work: work object :rtype: list of dict
openlibrary/solr/data_provider.py:256
↓ 1 callersMethodget_editions_of_work_direct
(self, work)
scripts/solr_builder/solr_builder/solr_builder.py:254
↓ 1 callersMethodget_export
(self, export_type: str)
openlibrary/plugins/upstream/account.py:1250
↓ 1 callersMethodget_export_list
Returns all the editions, works and authors of this list in arbitrary order. The return value is an iterator over all the entries. Each entry
openlibrary/core/lists/model.py:190
↓ 1 callersFunctionget_fallback_cover_url
Gets the URL of the archive.org item's title (or cover) page.
openlibrary/core/ia.py:169
↓ 1 callersFunctionget_features_table
Build a list of feature flags comparing infogami vs pydantic-settings.
openlibrary/plugins/openlibrary/status.py:543
↓ 1 callersFunctionget_feed
Fetches and yields each book in the feed.
scripts/import_open_textbook_library.py:17
↓ 1 callersFunctionget_feed
Fetches and returns Standard Ebook's feed.
scripts/import_standard_ebooks.py:19
↓ 1 callersMethodget_fields
(self, tag)
openlibrary/catalog/marc/tests/test_marc.py:48
↓ 1 callersMethodget_files
(self)
openlibrary/coverstore/archive.py:317
↓ 1 callersMethodget_followers
Get publishers subscribers
openlibrary/core/follows.py:43
↓ 1 callersFunctionget_from_archive_bulk
Gets a single binary MARC record from within an Archive.org bulk MARC item, and return the offset and length of the next item. If off
openlibrary/catalog/get_ia.py:61
↓ 1 callersFunctionget_graphite_base_url
()
openlibrary/plugins/admin/graphs.py:10
↓ 1 callersFunctionget_groundtruth_availability
temporary stopgap to get ground-truth availability of books including 1-hour borrows
openlibrary/core/lending.py:196
↓ 1 callersFunctionget_homepage
(devmode)
openlibrary/plugins/openlibrary/home.py:41
↓ 1 callersFunctionget_ia_collection_and_box_id
Get the collections and boxids of the provided IA id TODO Make the return type of this a namedtuple so that it's easier to reference :pa
openlibrary/solr/updater/work.py:155
↓ 1 callersMethodget_ia_cover
(self, itemid, size)
openlibrary/plugins/upstream/models.py:87
↓ 1 callersMethodget_ia_cover_url
(self, identifier: str, size: Literal["S", "M", "L", ""] = "M")
openlibrary/coverstore/code.py:307
↓ 1 callersMethodget_identifiers
(self, ed_or_solr: Edition | dict)
openlibrary/book_providers.py:199
↓ 1 callersMethodget_identifiers
Returns (name, value) pairs of all available identifiers.
openlibrary/plugins/upstream/models.py:668
↓ 1 callersMethodget_image
(self, book)
openlibrary/plugins/upstream/covers.py:176
↓ 1 callersMethodget_images
(self, book)
openlibrary/plugins/upstream/covers.py:173
↓ 1 callersFunctionget_isbn_10_and_13
Takes an ISBN 10 or 13 and returns an ISBN optional ISBN 10 and an ISBN 13, both in canonical form.
openlibrary/utils/isbn.py:80
↓ 1 callersFunctionget_isbn_editiondict_map
Attempts to import items from their ISBN, returning a mapping of possibly imported edition_dicts in the following form: {isbn_string:
openlibrary/plugins/books/dynlinks.py:530
↓ 1 callersMethodget_isbnmask
Returns a masked (hyphenated) ISBN if possible.
openlibrary/plugins/upstream/models.py:121
↓ 1 callersFunctionget_item_manifest
(item_id: str, item_server: str, item_path: str)
openlibrary/core/ia.py:178
↓ 1 callersFunctionget_items_and_add_availability
Get Editions from OCAIDs and attach their availabiliity. Returns a dict of the form: `{"ocaid1": edition1, "ocaid2": edition2, ...}`
openlibrary/core/lending.py:572
↓ 1 callersFunctionget_key_prefix
()
openlibrary/plugins/upstream/utils.py:231
↓ 1 callersFunctionget_language
(lang_or_key: str)
openlibrary/plugins/upstream/utils.py:784
↓ 1 callersFunctionget_line_as_biblio
(line: bytes, status: str)
scripts/providers/isbndb.py:170
↓ 1 callersMethodget_linked_ia_account
(self)
openlibrary/accounts/model.py:484
↓ 1 callersMethodget_list
(self)
openlibrary/core/lists/model.py:623
↓ 1 callersMethodget_list
(self, key)
openlibrary/plugins/openlibrary/tests/test_listapi.py:45
← previousnext →2,001–2,100 of 6,179, ranked by callers