miniflux/vendor/github.com/miniflux/miniflux-go
2017-11-26 15:07:59 -08:00
..
.travis.yml Add first integration test 2017-11-25 10:44:48 -08:00
client.go Add integration tests for entries 2017-11-26 15:07:59 -08:00
doc.go Add first integration test 2017-11-25 10:44:48 -08:00
LICENSE Add first integration test 2017-11-25 10:44:48 -08:00
miniflux.go Add first integration test 2017-11-25 10:44:48 -08:00
README.md Add integration tests for feed creation 2017-11-25 16:53:51 -08:00
request.go Add first integration test 2017-11-25 10:44:48 -08:00

Go Library for Miniflux

Build Status GoDoc

Client library for Miniflux REST API.

Requirements

  • Miniflux >= 2.0.0
  • Go >= 1.9

Installation

go get -u github.com/miniflux/miniflux-go

Example

package main

import (
	"fmt"

	"github.com/miniflux/miniflux-go"
)

func main() {
    client := miniflux.NewClient("https://api.example.org", "admin", "secret")

    // Fetch all feeds.
    feeds, err := client.Feeds()
    if err != nil {
        fmt.Println(err)
        return
    }
    fmt.Println(feeds)
}

Credits

  • Author: Frédéric Guillot
  • Distributed under MIT License