scopus

package
v0.0.0-...-3eebcfc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyLinkAbstract    = "link_abstract"
	KeyEid             = "eid"
	KeyIssn            = "issn"
	KeyDOI             = "doi"
	KeyPageRange       = "page_range"
	KeyVolume          = "volume"
	KeyPublicationName = "publication_name"
	KeyArticleNumber   = "article_number"
	KeyAggregationType = "aggregation_type"
	KeySubtype         = "subtype"
	KeyCitedByCount    = "cited_by_count"
	KeyAffiliation     = "affiliation"
)

Variables

This section is empty.

Functions

func ParseAbstract

func ParseAbstract(r io.Reader) (string, error)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(apiKey string) Client

func (Client) ConcurrencyLimit

func (c Client) ConcurrencyLimit() int

func (Client) DefaultPerPage

func (c Client) DefaultPerPage() int

func (Client) GetAbstract

func (c Client) GetAbstract(ctx context.Context, p lit.Publication) (lit.Abstract, error)
func (c Client) GetLink(ctx context.Context, link string) (io.ReadCloser, error)

func (Client) GetLiterature

func (c Client) GetLiterature(ctx context.Context, req lit.Request) (lit.Response, error)

func (Client) GetMaxLiterature

func (c Client) GetMaxLiterature(ctx context.Context, req lit.Request) (int, error)

func (Client) GetName

func (c Client) GetName() string

func (Client) GetRateLimit

func (c Client) GetRateLimit() time.Duration

func (Client) ParsePublication

func (c Client) ParsePublication(b lit.Blob) (lit.Publication, error)

func (Client) PrettyPrint

func (c Client) PrettyPrint(b lit.Blob, dst *bytes.Buffer) error
func (c Client) ReferenceLink(p lit.Publication) string

func (Client) ToBibTeX

func (c Client) ToBibTeX(p lit.Publication) bibtex.Reference

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL