/scrapbox-sdk-go

Primary LanguageGoMIT LicenseMIT

Scrapbox SDK for Go

License: MIT contributions welcome

Scrapbox API client library written in Golang.

Install

go get -u github.com/ktsujichan/scrapbox-sdk-go

How to Use

package main

import (
	"context"
	"fmt"

	"github.com/ktsujichan/scrapbox-sdk-go"
)

func main() {
	c, _ := scrapbox.NewClient()
	ctx, cancel := context.WithCancel(context.Background())
	defer cancel()

	pages, _ := c.ListPages(ctx, "projectName", nil)
	fmt.Println(pages)
}