1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-05 18:41:01 +00:00

Add first integration test

This commit is contained in:
Frédéric Guillot 2017-11-25 10:40:23 -08:00
parent 71bf7e4358
commit 142e8b3e0c
14 changed files with 891 additions and 12 deletions

50
vendor/github.com/miniflux/miniflux-go/README.md generated vendored Normal file
View file

@ -0,0 +1,50 @@
Go Library for Miniflux
=======================
[![Build Status](https://travis-ci.org/miniflux/miniflux-go.svg?branch=master)](https://travis-ci.org/miniflux/miniflux-go)
[![GoDoc](https://godoc.org/github.com/miniflux/miniflux-go?status.svg)](https://godoc.org/github.com/miniflux/miniflux-go)
Client library for Miniflux REST API.
Requirements
------------
- Miniflux >= 2.0.0
- Go >= 1.9
Installation
------------
```bash
go get -u github.com/miniflux/miniflux-go
```
Example
-------
```go
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 := userClient.Feeds()
if err != nil {
fmt.Println(err)
return
}
fmt.Println(feeds)
}
```
Credits
-------
- Author: Frédéric Guillot
- Distributed under MIT License