1.0.10 • Published 3 years ago

react-goodreads-simple v1.0.10

Weekly downloads
39
License
MIT License
Repository
github
Last release
3 years ago

react-goodreads-simple

This project is a React-based component to render your own book shelf. It was built using create-react-app.

To use this component

Prerequisites: You need to have Node + NPM installed.

import React from "react";
import BookShelf from "react-goodreads-simple";

export default function MyBookShelf() {
  return (
    <BookShelf
      apikey="YOUR_GOODREADS_API_KEY"
      userid="YOUR_GOODREADS_API_KEY"
    />
  );
}

userid and apikey are mandatory properties. Other properties to pass in are:

  • shelf: string matching the shelf to fetch goodreads data from. Default is 'read'
  • page: string representing the number of pages of results to fetch from goodreads. Default is '1'
  • per_page: string representing the number of results to be fetched per page. Default is '10'
  • sort: column to sort the results, represented as string. Default is 'date_read'

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.10

3 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago