Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piero-vic/go-linkding
Go client for the Linkding API
https://github.com/piero-vic/go-linkding
Last synced: 17 days ago
JSON representation
Go client for the Linkding API
- Host: GitHub
- URL: https://github.com/piero-vic/go-linkding
- Owner: piero-vic
- License: mit
- Created: 2024-08-31T05:53:18.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T18:15:54.000Z (3 months ago)
- Last Synced: 2024-11-13T21:47:38.623Z (about 1 month ago)
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-linkding
Go client library for the [Linkding](https://github.com/sissbruecker/linkding) API.
## Installation
```bash
go get -u github.com/piero-vic/go-linkding
```## Getting Started
### List Bookmarks
```go
package mainimport (
"fmt""github.com/piero-vic/go-linkding"
)func main() {
client := linkding.NewClient("https://linkding.example.org", "secret-token")params := linkding.ListBookmarksParams{
Limit: 15,
}response, err := client.ListBookmarks(params)
if err != nil {
fmt.Println(err.Error())
return
}fmt.Println(response.Results)
}
```