ao3

package module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: GPL-2.0 Imports: 5 Imported by: 1

README

A small golang api for archive of our own

Sample program :

cd ~/go/src
go mod init .
go mod edit -require gitlab.com/capoverflow/ao3api@develop
go get -v -t ./...

package main

import (
	"fmt"

	ao3 "gitlab.com/capoverflow/ao3api"
)

func main() {
	Parser := ao3.ParseWorks
	fmt.Println(Parser("21116591", "50249441"))
}
go run .

1. The Contrary Corpse Salvage MuffinLance [50249441 50485448 50720243 50831173 51608758 52081273 54160033 54694417 60167875 61226317 61799353 63000286]

It return the chapters title, the title and the authors and the ids of all chapters.

Roadmap:

  • Adding support for summary (already in the old api). WORKING (29-11-2020)
  • Numbers of Kudos, Comments, Hits Working as of commit ()
  • cli client (another project) here

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fanfic

func Fanfic(Params models.FanficParams) (fanfic models.Work, status int, err error)

Parsing parse the fanfiction from ao3

func Search(SearchString models.Search)

Tags

func UserBookmarks added in v0.1.2

func UserBookmarks(Author string) (Bookmarks []string)

func Users

func Users(Params models.UserParams) (AuthorInfo models.User)

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL