Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion goalex.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
// OpenAlex is a free and open catalog of scholarly papers, authors, venues, and more.
package goalex

import "github.com/Sunhill666/goalex/pkg/core"
import (
"github.com/Sunhill666/goalex/internal/model"
"github.com/Sunhill666/goalex/pkg/core"
)

// Client represents an HTTP client for interacting with the OpenAlex API.
type Client = core.Client

// Work represents an individual paper in the OpenAlex API.
type Work = model.Work

// PolitePool configures the client to use a polite pool with the provided email address.
var PolitePool = core.PolitePool

Expand Down