Code Monkey home page Code Monkey logo

goodreads-json's Introduction

Goodreads JSON API

Overview

If you're using Goodreads API, with this package you could use it in JSON. This package accepts a URL to a book (with author's name and book's title) and returns book object.

Installation

yarn add goodreads-json
yarn install

Usage

Basically, after you've installed the package, you could just import it in your project like this:

const goodreads = require('goodreads-json');

Now, you can just say things like const book = goodreads('https://books.url') and have your book object available with all its data.

Next steps

This package is obviously very limited now. Here's the plan:

  • Make all Goodreads APIs available through the package (not only looking up a book via a URL)
  • Significantly improve error handling and error messages
  • Introduce options so that if you're looking for book cover and year published, you'd could just say something like goodreads(BOOK_ANSI, {title, year}) and have back an object that would look like this:
{
  "ansi": 123456,
  "cover": "https://cover.url",
  "year": 2015
}

goodreads-json's People

Contributors

anyroad avatar rosnovsky avatar

Watchers

 avatar

Forkers

dr-aryone

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.