fanfiction-api

Simple API to fanfiction.net


Keywords
fanfiction, api
License
GPL-2.0-only
Install
pip install fanfiction-api==1.0

Documentation

FanFiction.net API

Features

  • Gather story, chapter and user information
  • Download stories to pdf, epub, mobi and txt
  • Gather stories, favourites, and favourite authors of a user.
  • Login Sessions
  • Full command line functionality
    • Help file
    • Download multiple stories
    • Download from file(s)
    • Download to different formats
    • Specify output directory

Bugs

  • Printing to pdf, generates a weird format. Also doesn't work without X interface.

Planned features

  • Filter and search effectively

Setup

To setup, clone or download the zip, then run python setup.py install, from the root directory.

Alternatively the package is available at pypi. To install run pip install fanfiction-api

If authentication is going to be used, the program expects to see the file $HOME/.ffconf.yaml, which should contain your fanfiction.net details. If no config file is specified, and this one does not exist, it will be created.

  #$HOME/.ffconf.yaml
  username:
  email:
  password:

Dependencies