react-goodreads

1.0.8 • Public • Published

react-goodreads

react-goodreads is a React-component for Goodreads read shelf.

Build Status npm npm npm demo

1. Install

npm install --save react-goodreads

2. Usage

Grab your Goodreads developer's key from here .

Component support responsive design with pure css.

https://cors-anywhere.herokuapp.com/ used for cors (Goodread does not support cors yet.) (year 2018?)

import React, { Component } from 'react';
import GoodReads from 'react-goodreads';
 
class App extends Component {
  render() {
    return (
      <div className="App">
        <header className="App-header">
        <GoodReads apikey="yourApiKey"/>
        </header>
      </div>
    );
  }
}
 
export default App;

3. Props

Props Default isRequired
apikey null Y
caption 'My Goodreads Read Shelf' N
bookCoverTitle 'Book Cover' N
bookNameTitle 'Book Name' N
startAtTitle 'Started At' N
ratingTitle 'Rating' N
locales 'en-EN' N

4. TODO

  • Custom styling

LICENSE

MIT@habil.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.84latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.84
1.0.72
1.0.62
1.0.52
1.0.42
1.0.32
1.0.22
1.0.12
1.0.02

Package Sidebar

Install

npm i react-goodreads

Homepage

habil.dev

Weekly Downloads

20

Version

1.0.8

License

MIT

Unpacked Size

19.2 kB

Total Files

6

Last publish

Collaborators

  • habil