{"id":16157285,"url":"https://github.com/nithinbekal/openlibrary","last_synced_at":"2025-03-18T20:30:49.467Z","repository":{"id":62430183,"uuid":"74609694","full_name":"nithinbekal/openlibrary","owner":"nithinbekal","description":"Elixir client for Open Library Rest API","archived":false,"fork":false,"pushed_at":"2024-02-14T03:42:33.000Z","size":22,"stargazers_count":7,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T07:48:56.164Z","etag":null,"topics":["books","elixir","elixir-client","elixir-lang","isbn","openlibrary"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nithinbekal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-23T19:59:20.000Z","updated_at":"2024-11-07T17:34:55.000Z","dependencies_parsed_at":"2024-10-27T19:26:32.565Z","dependency_job_id":null,"html_url":"https://github.com/nithinbekal/openlibrary","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.125,"last_synced_commit":"10430788c93b76c9814410847080c7c596c69a47"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nithinbekal%2Fopenlibrary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nithinbekal%2Fopenlibrary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nithinbekal%2Fopenlibrary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nithinbekal%2Fopenlibrary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nithinbekal","download_url":"https://codeload.github.com/nithinbekal/openlibrary/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243950792,"owners_count":20373664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["books","elixir","elixir-client","elixir-lang","isbn","openlibrary"],"created_at":"2024-10-10T01:49:05.055Z","updated_at":"2025-03-18T20:30:49.188Z","avatar_url":"https://github.com/nithinbekal.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Openlibrary\n\nElixir client for [Open Library Rest API](https://openlibrary.org/dev/docs/restful_api).\n\nWork in progress. Currently only supports fetching book information for a given ISBN, LCCN or OCLC.\n\n## Installation\n\nAdd `openlibrary` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:openlibrary, \"~\u003e 0.2.2\"}]\nend\n```\n\nEnsure `openlibrary` is started before your application:\n\n```elixir\ndef application do\n  [applications: [:openlibrary]]\nend\n```\n\n## Usage\n\nThe most common case is to look up books by ISBN:\n\n```elixir\nOpenlibrary.Book.find_by_isbn(\"1408845644\")\n\n%{\"authors\" =\u003e [%{\"name\" =\u003e \"Robert Jordan\",\n     \"url\" =\u003e \"https://openlibrary.org/authors/OL2645644A/Robert_Jordan\"}],\n  \"by_statement\" =\u003e \"Robert Jordan\",\n  \"classifications\" =\u003e %{\"dewey_decimal_class\" =\u003e [\"823.914\"],\n    \"lc_classifications\" =\u003e [\"PS3560.O7617 E94 1990\"]},\n  \"cover\" =\u003e %{...},\n  \"ebooks\" =\u003e [...],\n  \"identifiers\" =\u003e %{\n    \"isbn_10\" =\u003e [\"0812511816\", \"081257995X\", \"0613176340\", \"0812500482\"],\n    \"isbn_13\" =\u003e [\"9780812511819\", \"9780812579956\", \"9780613176347\", \"9780812500486\"],\n    \"lccn\" =\u003e [\"89007939\"], \"oclc\" =\u003e [\"22671036\"],\n    \"openlibrary\" =\u003e [\"OL24934473M\"]\n  },\n  \"key\" =\u003e \"/books/OL24934473M\",\n  \"number_of_pages\" =\u003e 814, \"pagination\" =\u003e \"814 p. :\",\n  \"publish_date\" =\u003e \"1990\", \"publish_places\" =\u003e [%{\"name\" =\u003e \"New York\"}],\n  \"publishers\" =\u003e [%{\"name\" =\u003e \"T. Doherty Associates\"}],\n  \"subjects\" =\u003e [%{\"name\" =\u003e \"Fantasy .\", \"url\" =\u003e \"https://openlibrary.org/subjects/fantasy_.\"}]}\n```\n\nYou can also look up books by other keys:\n\n```elixir\n# Using Library of Congress catalog number:\nOpenlibrary.Book.find_by_lccn(\"96072233\")\n\n# Using Worldcat Control Number:\nOpenlibrary.Book.find_by_oclc(\"36792831\")\n```\n\n## Credits\n\nReading through the source of the [openlibrary gem](https://github.com/jayfajardo/openlibrary)\nby [jayfajardo](https://github.com/jayfajardo) has been a massive help in\ncreating this package.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnithinbekal%2Fopenlibrary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnithinbekal%2Fopenlibrary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnithinbekal%2Fopenlibrary/lists"}