Anytype-Go v0.4.0
A Go SDK for interacting with the Anytype API to manage spaces, objects, and perform searches. This library provides a feature-rich, fluent interface to integrate Anytype functionality into your Go applications.
Features
- Authentication management
- Space and member management
- Object creation, reading, updating, and deletion
- Advanced search capabilities with filters
- Template and type management
- Property handling
- Object export to different formats
- Middleware support including retry, validation, and disconnect handling
Installation
go get github.com/epheo/[email protected]Usage
import (
"github.com/epheo/anytype-go"
_ "github.com/epheo/anytype-go/client" // Register client implementation
)
// Create a new client
client, err := anytype.NewClient()
if err != nil {
// Handle error
}
// Work with spaces
spaces, err := client.Space().List()
// Work with objects
obj, err := client.Object().Get("object-id")Documentation
See the README for comprehensive documentation including:
- Quick start guide
- Advanced examples
- Design philosophy
- API reference
- Best practices
API documentation is also available as a release asset attached to this release.