Documentation
¶
Index ¶
- func NewNASAADSHTTPClient(baseURL, token string) transport.HTTPClient
- func OpenAlexFilterPreset(name string) (map[string]string, bool)
- func RedactNASAADSToken(value string) string
- type ArXivConnector
- type BASEConnector
- type BioRxivConnector
- type BioStudiesConnector
- type ChemRxivConnector
- type CiNiiConnector
- type ClinicalTrialsConnector
- type CrossrefConnector
- func (c CrossrefConnector) LookupDOI(ctx context.Context, doi string) (core.SourceRecord, string, error)
- func (CrossrefConnector) Name() string
- func (c CrossrefConnector) References(ctx context.Context, doi string) (core.SourceResponse, error)
- func (c CrossrefConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
- type DBLPConnector
- type DOABConnector
- type DataCiteConnector
- type DataverseConnector
- type DimensionsConnector
- type DryadConnector
- type ELifeConnector
- type ERICConnector
- type EuropePMCConnector
- type FigshareConnector
- type GBIFConnector
- type HALConnector
- type HuggingFaceConnector
- type InspireHEPConnector
- type LensConnector
- type NASAADSConnector
- type NASACMRConnector
- type NBERConnector
- type NTRSConnector
- type OAPenConnector
- type OSFConnector
- type OSTIConnector
- type OpenAIREConnector
- type OpenAccessRecord
- type OpenAlexConnector
- func (c OpenAlexConnector) ExpandCitationGraph(ctx context.Context, query OpenAlexGraphQuery) (core.CitationGraphExpansion, error)
- func (OpenAlexConnector) Name() string
- func (c OpenAlexConnector) RelatedWorks(ctx context.Context, workID string, limit int) (core.SourceResponse, error)
- func (c OpenAlexConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
- func (c OpenAlexConnector) SearchAuthors(ctx context.Context, query core.SourceQuery) ([]OpenAlexEntity, string, error)
- func (c OpenAlexConnector) SearchConcepts(ctx context.Context, query core.SourceQuery) ([]OpenAlexEntity, string, error)
- func (c OpenAlexConnector) SearchInstitutions(ctx context.Context, query core.SourceQuery) ([]OpenAlexEntity, string, error)
- type OpenAlexDisambiguationItem
- type OpenAlexDisambiguationQueue
- type OpenAlexEntity
- type OpenAlexGraphQuery
- type OpenCitationsConnector
- type OpenLibraryConnector
- type PLOSConnector
- type PMCConnector
- type PubChemConnector
- type PubMedConnector
- type PubMedOptions
- type ResearchSquareConnector
- type SemanticScholarConnector
- func (c SemanticScholarConnector) ExpandCitationGraph(ctx context.Context, query core.SemanticScholarGraphQuery) (core.CitationGraphExpansion, error)
- func (SemanticScholarConnector) Name() string
- func (c SemanticScholarConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
- type SemanticScholarGraphRun
- type SemanticScholarGraphRunOptions
- type UnpaywallConnector
- type ZbMATHConnector
- type ZenodoConnector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNASAADSHTTPClient ¶
func NewNASAADSHTTPClient(baseURL, token string) transport.HTTPClient
func RedactNASAADSToken ¶
Types ¶
type ArXivConnector ¶
type ArXivConnector struct {
// contains filtered or unexported fields
}
ArXivConnector searches arXiv Atom feeds.
func NewArXivConnector ¶
func NewArXivConnector(httpClient transport.HTTPClient) ArXivConnector
NewArXivConnector creates an arXiv source connector.
func (ArXivConnector) LookupPaperByArXivID ¶
func (c ArXivConnector) LookupPaperByArXivID(ctx context.Context, id string) (core.SourceRecord, string, error)
LookupPaperByArXivID resolves one arXiv paper by its arXiv ID.
func (ArXivConnector) Name ¶
func (ArXivConnector) Name() string
Name returns the connector source name.
func (ArXivConnector) Search ¶
func (c ArXivConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries arXiv and normalizes entries into SourceRecords.
type BASEConnector ¶
type BASEConnector struct {
// contains filtered or unexported fields
}
BASEConnector searches the Bielefeld Academic Search Engine (BASE).
func NewBASEConnector ¶
func NewBASEConnector(httpClient transport.HTTPClient) BASEConnector
NewBASEConnector creates a BASE source connector.
func (BASEConnector) Name ¶
func (BASEConnector) Name() string
Name returns the connector source name.
func (BASEConnector) Search ¶
func (c BASEConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the BASE HTTP search interface and normalizes results into SourceRecords.
type BioRxivConnector ¶
type BioRxivConnector struct {
// contains filtered or unexported fields
}
BioRxivConnector lists recent preprints from bioRxiv or medRxiv.
The biorxiv.org API does not support keyword search — it lists preprints by date range. This connector fetches the most recent 30 days of preprints from the requested server and filters by the query terms against title and abstract. For keyword-based discovery of bioRxiv content, the europepmc and semantic-scholar connectors provide broader coverage.
Use the filter "server=medrxiv" to search medRxiv instead.
func NewBioRxivConnector ¶
func NewBioRxivConnector(httpClient transport.HTTPClient) BioRxivConnector
NewBioRxivConnector creates a bioRxiv/medRxiv source connector.
func (BioRxivConnector) Name ¶
func (BioRxivConnector) Name() string
Name returns the connector source name.
func (BioRxivConnector) Search ¶
func (c BioRxivConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search lists recent preprints from bioRxiv (or medRxiv via filter) and filters by query terms against title and abstract.
type BioStudiesConnector ¶
type BioStudiesConnector struct {
// contains filtered or unexported fields
}
BioStudiesConnector searches the EMBL-EBI BioStudies database.
BioStudies (ebi.ac.uk/biostudies) is a database of life-sciences studies operated by the European Bioinformatics Institute (EMBL-EBI). It aggregates studies from Europe PMC, ArrayExpress, and other EBI repositories. The search API requires no authentication.
func NewBioStudiesConnector ¶
func NewBioStudiesConnector(httpClient transport.HTTPClient) BioStudiesConnector
NewBioStudiesConnector creates a BioStudies source connector.
func (BioStudiesConnector) Name ¶
func (BioStudiesConnector) Name() string
Name returns the connector source name.
func (BioStudiesConnector) Search ¶
func (c BioStudiesConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the BioStudies search API and normalizes results into SourceRecords.
type ChemRxivConnector ¶
type ChemRxivConnector struct {
// contains filtered or unexported fields
}
ChemRxivConnector searches ChemRxiv, the chemistry preprint server.
ChemRxiv is hosted by the American Chemical Society and powered by the Cambridge Open Engage platform. It covers chemistry, chemical biology, and related fields. All records are openly accessible preprints; license is populated from the Cambridge Open Engage license field when present.
func NewChemRxivConnector ¶
func NewChemRxivConnector(httpClient transport.HTTPClient) ChemRxivConnector
NewChemRxivConnector creates a ChemRxiv source connector.
func (ChemRxivConnector) Name ¶
func (ChemRxivConnector) Name() string
Name returns the connector source name.
func (ChemRxivConnector) Search ¶
func (c ChemRxivConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the ChemRxiv Cambridge Open Engage API and normalizes results.
type CiNiiConnector ¶
type CiNiiConnector struct {
// contains filtered or unexported fields
}
CiNiiConnector searches the CiNii Research database.
CiNii Research (cir.nii.ac.jp) is operated by the National Institute of Informatics (NII) of Japan. It aggregates articles, books, dissertations, and research data from Japanese and international scholarly sources. The OpenSearch API requires no authentication and returns JSON-LD.
func NewCiNiiConnector ¶
func NewCiNiiConnector(httpClient transport.HTTPClient) CiNiiConnector
NewCiNiiConnector creates a CiNii source connector.
func (CiNiiConnector) Name ¶
func (CiNiiConnector) Name() string
Name returns the connector source name.
func (CiNiiConnector) Search ¶
func (c CiNiiConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the CiNii Research articles OpenSearch endpoint and normalizes results into SourceRecords.
type ClinicalTrialsConnector ¶
type ClinicalTrialsConnector struct {
// contains filtered or unexported fields
}
ClinicalTrialsConnector searches the ClinicalTrials.gov registry.
func NewClinicalTrialsConnector ¶
func NewClinicalTrialsConnector(httpClient transport.HTTPClient) ClinicalTrialsConnector
NewClinicalTrialsConnector creates a ClinicalTrials.gov source connector.
func (ClinicalTrialsConnector) Name ¶
func (ClinicalTrialsConnector) Name() string
Name returns the connector source name.
func (ClinicalTrialsConnector) Search ¶
func (c ClinicalTrialsConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the ClinicalTrials.gov v2 API and normalizes results into SourceRecords.
type CrossrefConnector ¶
type CrossrefConnector struct {
// contains filtered or unexported fields
}
CrossrefConnector searches Crossref works.
func NewCrossrefConnector ¶
func NewCrossrefConnector(httpClient transport.HTTPClient) CrossrefConnector
NewCrossrefConnector creates a Crossref source connector.
func (CrossrefConnector) LookupDOI ¶
func (c CrossrefConnector) LookupDOI(ctx context.Context, doi string) (core.SourceRecord, string, error)
LookupDOI fetches one Crossref work by DOI and normalizes its metadata.
func (CrossrefConnector) Name ¶
func (CrossrefConnector) Name() string
Name returns the connector source name.
func (CrossrefConnector) References ¶
func (c CrossrefConnector) References(ctx context.Context, doi string) (core.SourceResponse, error)
References fetches one Crossref work and normalizes its reference-list DOI/title entries.
func (CrossrefConnector) Search ¶
func (c CrossrefConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries Crossref works and normalizes results into SourceRecords.
type DBLPConnector ¶
type DBLPConnector struct {
// contains filtered or unexported fields
}
DBLPConnector searches the DBLP computer science bibliography.
func NewDBLPConnector ¶
func NewDBLPConnector(httpClient transport.HTTPClient) DBLPConnector
NewDBLPConnector creates a DBLP source connector.
func (DBLPConnector) Name ¶
func (DBLPConnector) Name() string
Name returns the connector source name.
func (DBLPConnector) Search ¶
func (c DBLPConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the DBLP publication search API and normalizes results into SourceRecords.
type DOABConnector ¶
type DOABConnector struct {
// contains filtered or unexported fields
}
DOABConnector searches the Directory of Open Access Books (DOAB).
DOAB is a community-driven database of open access books. All listed books are freely available and peer-reviewed. The REST API returns DSpace-style metadata with Dublin Core and OAPEN-specific fields.
func NewDOABConnector ¶
func NewDOABConnector(httpClient transport.HTTPClient) DOABConnector
NewDOABConnector creates a DOAB source connector.
func (DOABConnector) Name ¶
func (DOABConnector) Name() string
Name returns the connector source name.
func (DOABConnector) Search ¶
func (c DOABConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the DOAB REST API and normalizes results into SourceRecords.
type DataCiteConnector ¶
type DataCiteConnector struct {
// contains filtered or unexported fields
}
DataCiteConnector searches the DataCite research data DOI registry.
func NewDataCiteConnector ¶
func NewDataCiteConnector(httpClient transport.HTTPClient) DataCiteConnector
NewDataCiteConnector creates a DataCite source connector.
func (DataCiteConnector) Name ¶
func (DataCiteConnector) Name() string
Name returns the connector source name.
func (DataCiteConnector) Search ¶
func (c DataCiteConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the DataCite REST API and normalizes results into SourceRecords.
type DataverseConnector ¶
type DataverseConnector struct {
// contains filtered or unexported fields
}
DataverseConnector searches the Harvard Dataverse repository.
Harvard Dataverse (dataverse.harvard.edu) is one of the largest open research data repositories, hosting datasets across all disciplines. The Dataverse REST API requires no authentication for public datasets.
func NewDataverseConnector ¶
func NewDataverseConnector(httpClient transport.HTTPClient) DataverseConnector
NewDataverseConnector creates a Harvard Dataverse source connector.
func (DataverseConnector) Name ¶
func (DataverseConnector) Name() string
Name returns the connector source name.
func (DataverseConnector) Search ¶
func (c DataverseConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the Harvard Dataverse search API and normalizes results into SourceRecords.
type DimensionsConnector ¶
type DimensionsConnector struct {
// contains filtered or unexported fields
}
DimensionsConnector searches Dimensions (free academic API tier).
Dimensions requires a JWT bearer token obtained via the free academic access program at app.dimensions.ai. Set the RFORGE_DIMENSIONS_TOKEN environment variable to enable this connector. The connector uses the DSL POST endpoint with a plain-text query body.
DSL reference: https://docs.dimensions.ai/dsl/
func NewDimensionsConnector ¶
func NewDimensionsConnector(httpClient transport.HTTPClient) DimensionsConnector
NewDimensionsConnector creates a Dimensions source connector.
func (DimensionsConnector) Name ¶
func (DimensionsConnector) Name() string
Name returns the connector source name.
func (DimensionsConnector) Search ¶
func (c DimensionsConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the Dimensions DSL API and normalizes results into SourceRecords.
type DryadConnector ¶
type DryadConnector struct {
// contains filtered or unexported fields
}
DryadConnector searches the Dryad research data repository.
Dryad (datadryad.org) is an open-access repository for scientific research data. It provides a HAL-style REST API with no authentication required.
func NewDryadConnector ¶
func NewDryadConnector(httpClient transport.HTTPClient) DryadConnector
NewDryadConnector creates a Dryad source connector.
func (DryadConnector) Name ¶
func (DryadConnector) Name() string
Name returns the connector source name.
func (DryadConnector) Search ¶
func (c DryadConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the Dryad REST API and normalizes results into SourceRecords.
type ELifeConnector ¶
type ELifeConnector struct {
// contains filtered or unexported fields
}
ELifeConnector searches the eLife open-access journal via its content API.
eLife (elifesciences.org) is a selective open-access journal covering the life sciences and biomedicine. All articles are fully open access. The public content API requires no authentication.
func NewELifeConnector ¶
func NewELifeConnector(httpClient transport.HTTPClient) ELifeConnector
NewELifeConnector creates an eLife source connector.
func (ELifeConnector) Name ¶
func (ELifeConnector) Name() string
Name returns the connector source name.
func (ELifeConnector) Search ¶
func (c ELifeConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the eLife content search API and normalizes results into SourceRecords. Article titles may contain inline HTML (e.g. <sub>, <em>); these are stripped before storing.
type ERICConnector ¶
type ERICConnector struct {
// contains filtered or unexported fields
}
ERICConnector searches the Education Resources Information Center (ERIC).
ERIC is the US Department of Education's bibliographic database covering education research and practice (2M+ records). It has no DOI field in the search API; SourceID (EJ/ED number) is stored in CrossrefID as "eric:<id>".
func NewERICConnector ¶
func NewERICConnector(httpClient transport.HTTPClient) ERICConnector
NewERICConnector creates an ERIC source connector.
func (ERICConnector) Name ¶
func (ERICConnector) Name() string
Name returns the connector source name.
func (ERICConnector) Search ¶
func (c ERICConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the ERIC API and normalizes results into SourceRecords.
type EuropePMCConnector ¶
type EuropePMCConnector struct {
// contains filtered or unexported fields
}
EuropePMCConnector searches Europe PMC metadata.
func NewEuropePMCConnector ¶
func NewEuropePMCConnector(httpClient transport.HTTPClient) EuropePMCConnector
NewEuropePMCConnector creates a Europe PMC source connector.
func (EuropePMCConnector) Name ¶
func (EuropePMCConnector) Name() string
Name returns the connector source name.
func (EuropePMCConnector) Search ¶
func (c EuropePMCConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries Europe PMC and normalizes results into SourceRecords.
type FigshareConnector ¶
type FigshareConnector struct {
// contains filtered or unexported fields
}
FigshareConnector searches the figshare research outputs repository.
func NewFigshareConnector ¶
func NewFigshareConnector(httpClient transport.HTTPClient) FigshareConnector
NewFigshareConnector creates a figshare source connector.
func (FigshareConnector) Name ¶
func (FigshareConnector) Name() string
Name returns the connector source name.
func (FigshareConnector) Search ¶
func (c FigshareConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the figshare API and normalizes results into SourceRecords.
type GBIFConnector ¶
type GBIFConnector struct {
// contains filtered or unexported fields
}
GBIFConnector searches the GBIF Literature API.
GBIF (Global Biodiversity Information Facility) maintains a curated bibliography of literature that cites GBIF data or covers biodiversity informatics topics. The public REST API requires no authentication.
func NewGBIFConnector ¶
func NewGBIFConnector(httpClient transport.HTTPClient) GBIFConnector
NewGBIFConnector creates a GBIF Literature source connector.
func (GBIFConnector) Name ¶
func (GBIFConnector) Name() string
Name returns the connector source name.
func (GBIFConnector) Search ¶
func (c GBIFConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the GBIF Literature API and normalizes results into SourceRecords.
type HALConnector ¶
type HALConnector struct {
// contains filtered or unexported fields
}
HALConnector searches the French HAL open-access archive.
HAL (Hyper Articles en Ligne) is France's national OA repository with strong coverage in humanities, social sciences, and STEM. The API is SOLR-based and returns structured JSON. HAL IDs (hal-XXXXXXX) are stored in CrossrefID when no DOI is available.
func NewHALConnector ¶
func NewHALConnector(httpClient transport.HTTPClient) HALConnector
NewHALConnector creates a HAL source connector.
func (HALConnector) Name ¶
func (HALConnector) Name() string
Name returns the connector source name.
func (HALConnector) Search ¶
func (c HALConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the HAL open search API and normalizes results into SourceRecords.
type HuggingFaceConnector ¶
type HuggingFaceConnector struct {
// contains filtered or unexported fields
}
HuggingFaceConnector searches the HuggingFace Papers index.
HuggingFace Papers (huggingface.co/papers) is a community-curated feed of machine learning and AI research papers. Each paper corresponds to an arXiv preprint; the HuggingFace index adds community upvotes, code repository links, and AI-generated summaries. The JSON API requires no authentication.
func NewHuggingFaceConnector ¶
func NewHuggingFaceConnector(httpClient transport.HTTPClient) HuggingFaceConnector
NewHuggingFaceConnector creates a HuggingFace Papers source connector.
func (HuggingFaceConnector) Name ¶
func (HuggingFaceConnector) Name() string
Name returns the connector source name.
func (HuggingFaceConnector) Search ¶
func (c HuggingFaceConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the HuggingFace Papers API and normalizes results into SourceRecords. Papers are arXiv preprints; DOIs follow the arXiv DOI scheme (10.48550/arXiv.<id>).
type InspireHEPConnector ¶
type InspireHEPConnector struct {
// contains filtered or unexported fields
}
InspireHEPConnector searches the INSPIRE HEP literature database.
func NewInspireHEPConnector ¶
func NewInspireHEPConnector(httpClient transport.HTTPClient) InspireHEPConnector
NewInspireHEPConnector creates an INSPIRE HEP source connector.
func (InspireHEPConnector) Name ¶
func (InspireHEPConnector) Name() string
Name returns the connector source name.
func (InspireHEPConnector) Search ¶
func (c InspireHEPConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the INSPIRE HEP literature API and normalizes results into SourceRecords.
type LensConnector ¶
type LensConnector struct {
// contains filtered or unexported fields
}
LensConnector searches Lens.org scholarly and patent literature.
func NewLensConnector ¶
func NewLensConnector(httpClient transport.HTTPClient) LensConnector
NewLensConnector creates a Lens.org source connector.
func (LensConnector) Name ¶
func (LensConnector) Name() string
Name returns the connector source name.
func (LensConnector) Search ¶
func (c LensConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the Lens.org scholarly search API and normalizes results into SourceRecords.
type NASAADSConnector ¶
type NASAADSConnector struct {
// contains filtered or unexported fields
}
NASAADSConnector searches NASA ADS Solr records for physics/astronomy bibliography normalization.
func NewNASAADSConnector ¶
func NewNASAADSConnector(httpClient transport.HTTPClient) NASAADSConnector
func (NASAADSConnector) ExpandCitationGraph ¶
func (c NASAADSConnector) ExpandCitationGraph(ctx context.Context, bibcode string, limit int) (core.CitationGraphExpansion, error)
func (NASAADSConnector) Name ¶
func (NASAADSConnector) Name() string
func (NASAADSConnector) Search ¶
func (c NASAADSConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
type NASACMRConnector ¶
type NASACMRConnector struct {
// contains filtered or unexported fields
}
NASACMRConnector searches the NASA Common Metadata Repository (CMR).
NASA CMR (cmr.earthdata.nasa.gov) is the authoritative catalog of NASA Earth observation and scientific data collections. It indexes datasets from NASA DAACs (Distributed Active Archive Centers) and partner organizations. The public JSON search API requires no authentication.
func NewNASACMRConnector ¶
func NewNASACMRConnector(httpClient transport.HTTPClient) NASACMRConnector
NewNASACMRConnector creates a NASA CMR source connector.
func (NASACMRConnector) Name ¶
func (NASACMRConnector) Name() string
Name returns the connector source name.
func (NASACMRConnector) Search ¶
func (c NASACMRConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the NASA CMR collections endpoint and normalizes results into SourceRecords.
type NBERConnector ¶
type NBERConnector struct {
// contains filtered or unexported fields
}
NBERConnector searches NBER Working Papers via the NBER site search API.
NBER (National Bureau of Economic Research, nber.org) publishes working papers across all areas of economics. Each working paper carries an official DOI of the form 10.3386/w<number>, which this connector constructs from the paper URL. The site search API requires no authentication.
func NewNBERConnector ¶
func NewNBERConnector(httpClient transport.HTTPClient) NBERConnector
NewNBERConnector creates an NBER Working Papers source connector.
func (NBERConnector) Name ¶
func (NBERConnector) Name() string
Name returns the connector source name.
func (NBERConnector) Search ¶
func (c NBERConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the NBER working-paper search API and normalizes results into SourceRecords. DOIs are constructed from the paper URL path; author HTML is stripped; year is parsed from the human-readable date field.
type NTRSConnector ¶
type NTRSConnector struct {
// contains filtered or unexported fields
}
NTRSConnector searches the NASA Technical Reports Server (NTRS).
func NewNTRSConnector ¶
func NewNTRSConnector(httpClient transport.HTTPClient) NTRSConnector
NewNTRSConnector creates an NTRS source connector.
func (NTRSConnector) Name ¶
func (NTRSConnector) Name() string
Name returns the connector source name.
func (NTRSConnector) Search ¶
func (c NTRSConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the NTRS REST API and normalizes results into SourceRecords.
type OAPenConnector ¶
type OAPenConnector struct {
// contains filtered or unexported fields
}
OAPenConnector searches the OAPEN Library for open access books.
OAPEN (Open Access Publishing in European Networks, library.oapen.org) is the leading repository of peer-reviewed open access academic books and book chapters, covering humanities, social sciences, and STEM. The DSpace REST API requires no authentication.
func NewOAPenConnector ¶
func NewOAPenConnector(httpClient transport.HTTPClient) OAPenConnector
NewOAPenConnector creates an OAPEN Library source connector.
func (OAPenConnector) Name ¶
func (OAPenConnector) Name() string
Name returns the connector source name.
func (OAPenConnector) Search ¶
func (c OAPenConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the OAPEN DSpace REST search endpoint and normalizes results into SourceRecords. Each item's metadata is a flat key-value array; this connector picks out the standard DC and OAPEN fields.
type OSFConnector ¶
type OSFConnector struct {
// contains filtered or unexported fields
}
OSFConnector searches OSF Preprints, which aggregates PsyArXiv, SocArXiv, EarthArXiv, and other community preprint servers under a single API.
func NewOSFConnector ¶
func NewOSFConnector(httpClient transport.HTTPClient) OSFConnector
NewOSFConnector creates an OSF source connector.
func (OSFConnector) Name ¶
func (OSFConnector) Name() string
Name returns the connector source name.
func (OSFConnector) Search ¶
func (c OSFConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the OSF Preprints API and normalizes results into SourceRecords.
type OSTIConnector ¶
type OSTIConnector struct {
// contains filtered or unexported fields
}
OSTIConnector searches the OSTI.gov (US DOE Office of Scientific and Technical Information) API.
func NewOSTIConnector ¶
func NewOSTIConnector(httpClient transport.HTTPClient) OSTIConnector
NewOSTIConnector creates an OSTI source connector.
func (OSTIConnector) Name ¶
func (OSTIConnector) Name() string
Name returns the connector source name.
func (OSTIConnector) Search ¶
func (c OSTIConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the OSTI REST API and normalizes results into SourceRecords.
type OpenAIREConnector ¶
type OpenAIREConnector struct {
// contains filtered or unexported fields
}
OpenAIREConnector searches the OpenAIRE Research Graph.
func NewOpenAIREConnector ¶
func NewOpenAIREConnector(httpClient transport.HTTPClient) OpenAIREConnector
NewOpenAIREConnector creates an OpenAIRE source connector.
func (OpenAIREConnector) Name ¶
func (OpenAIREConnector) Name() string
Name returns the connector source name.
func (OpenAIREConnector) Search ¶
func (c OpenAIREConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the OpenAIRE publications search API and normalizes results into SourceRecords.
type OpenAccessRecord ¶
type OpenAccessRecord struct {
DOI string
OpenAccess bool
OAStatus string
License string
BestURL string
PDFURL string
SourceRef library.SourceRef
}
OpenAccessRecord is normalized Unpaywall open-access metadata for one DOI.
type OpenAlexConnector ¶
type OpenAlexConnector struct {
// contains filtered or unexported fields
}
OpenAlexConnector searches OpenAlex works.
func NewOpenAlexConnector ¶
func NewOpenAlexConnector(httpClient transport.HTTPClient) OpenAlexConnector
NewOpenAlexConnector creates an OpenAlex source connector.
func (OpenAlexConnector) ExpandCitationGraph ¶
func (c OpenAlexConnector) ExpandCitationGraph(ctx context.Context, query OpenAlexGraphQuery) (core.CitationGraphExpansion, error)
ExpandCitationGraph fetches OpenAlex references, citations, or both for one work.
func (OpenAlexConnector) Name ¶
func (OpenAlexConnector) Name() string
Name returns the connector source name.
func (OpenAlexConnector) RelatedWorks ¶
func (c OpenAlexConnector) RelatedWorks(ctx context.Context, workID string, limit int) (core.SourceResponse, error)
RelatedWorks returns related OpenAlex work IDs as lightweight discovery records.
func (OpenAlexConnector) Search ¶
func (c OpenAlexConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries OpenAlex works and normalizes results into SourceRecords.
func (OpenAlexConnector) SearchAuthors ¶
func (c OpenAlexConnector) SearchAuthors(ctx context.Context, query core.SourceQuery) ([]OpenAlexEntity, string, error)
SearchAuthors queries OpenAlex authors.
func (OpenAlexConnector) SearchConcepts ¶
func (c OpenAlexConnector) SearchConcepts(ctx context.Context, query core.SourceQuery) ([]OpenAlexEntity, string, error)
SearchConcepts queries OpenAlex concepts.
func (OpenAlexConnector) SearchInstitutions ¶
func (c OpenAlexConnector) SearchInstitutions(ctx context.Context, query core.SourceQuery) ([]OpenAlexEntity, string, error)
SearchInstitutions queries OpenAlex institutions.
type OpenAlexDisambiguationItem ¶
type OpenAlexDisambiguationItem struct {
Key string `json:"key"`
Reason string `json:"reason"`
Candidates []OpenAlexEntity `json:"candidates"`
ProvenanceRef string `json:"provenanceRef"`
}
type OpenAlexDisambiguationQueue ¶
type OpenAlexDisambiguationQueue struct {
SchemaVersion string `json:"schemaVersion"`
Query string `json:"query"`
Entity string `json:"entity"`
Items []OpenAlexDisambiguationItem `json:"items"`
}
func BuildOpenAlexDisambiguationQueue ¶
func BuildOpenAlexDisambiguationQueue(query, entity string, candidates []OpenAlexEntity, rawRef string) OpenAlexDisambiguationQueue
type OpenAlexEntity ¶
type OpenAlexEntity struct {
Source string `json:"source"`
SourceID string `json:"sourceId"`
DisplayName string `json:"displayName"`
WorksCount int `json:"worksCount"`
Metadata map[string]string `json:"metadata,omitempty"`
}
OpenAlexEntity is a normalized OpenAlex author or institution search result.
type OpenAlexGraphQuery ¶
type OpenAlexGraphQuery struct {
WorkID string
Limit int
Direction core.SemanticScholarGraphDirection
}
OpenAlexGraphQuery describes an OpenAlex citation graph expansion.
type OpenCitationsConnector ¶
type OpenCitationsConnector struct {
// contains filtered or unexported fields
}
OpenCitationsConnector queries the OpenCitations COCI citation graph.
Query terms must be a DOI. The connector returns papers that cite that DOI by calling the Index v1 citations endpoint, then batch-fetches bibliographic metadata from the Meta v1 endpoint.
API migration note (2026): the legacy /index/coci/api/v1/ paths and the /index/v1/metadata endpoint have been retired. The current paths are:
- https://api.opencitations.net/index/v1/citations/{doi}
- https://api.opencitations.net/meta/v1/metadata/doi:{doi1}__doi:{doi2}
func NewOpenCitationsConnector ¶
func NewOpenCitationsConnector(httpClient transport.HTTPClient) OpenCitationsConnector
NewOpenCitationsConnector creates an OpenCitations source connector.
func (OpenCitationsConnector) Name ¶
func (OpenCitationsConnector) Name() string
Name returns the connector source name.
func (OpenCitationsConnector) Search ¶
func (c OpenCitationsConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries OpenCitations for papers citing the DOI in query.Terms.
type OpenLibraryConnector ¶
type OpenLibraryConnector struct {
// contains filtered or unexported fields
}
OpenLibraryConnector searches the Open Library book catalog.
Open Library (openlibrary.org) is the Internet Archive's open catalog of books, covering millions of titles from ancient to modern. The search JSON API requires no authentication. Records without a DOI use the Open Library work key as a CrossrefID. OpenAccess is set when the ebook_access field indicates the book is freely available online.
func NewOpenLibraryConnector ¶
func NewOpenLibraryConnector(httpClient transport.HTTPClient) OpenLibraryConnector
NewOpenLibraryConnector creates an Open Library source connector.
func (OpenLibraryConnector) Name ¶
func (OpenLibraryConnector) Name() string
Name returns the connector source name.
func (OpenLibraryConnector) Search ¶
func (c OpenLibraryConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the Open Library search API and normalizes results into SourceRecords. Books rarely have DOIs; the Open Library work key (e.g. OL20709638W) is used as the CrossrefID fallback.
type PLOSConnector ¶
type PLOSConnector struct {
// contains filtered or unexported fields
}
PLOSConnector searches the Public Library of Science (PLOS) article API.
func NewPLOSConnector ¶
func NewPLOSConnector(httpClient transport.HTTPClient) PLOSConnector
NewPLOSConnector creates a PLOS source connector.
func (PLOSConnector) Name ¶
func (PLOSConnector) Name() string
Name returns the connector source name.
func (PLOSConnector) Search ¶
func (c PLOSConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the PLOS search API and normalizes results into SourceRecords.
type PMCConnector ¶
type PMCConnector struct {
// contains filtered or unexported fields
}
PMCConnector searches PubMed Central (PMC) via the NCBI E-utilities API.
PMC (www.ncbi.nlm.nih.gov/pmc/) is NCBI's free full-text archive of biomedical and life sciences journal articles. The connector uses a two-step flow: esearch retrieves PMC IDs for a query, then esummary fetches metadata for those IDs. Both endpoints are part of the public NCBI E-utilities API and require no authentication for moderate-volume use.
func NewPMCConnector ¶
func NewPMCConnector(httpClient transport.HTTPClient) PMCConnector
NewPMCConnector creates a PubMed Central source connector.
func (PMCConnector) Name ¶
func (PMCConnector) Name() string
Name returns the connector source name.
func (PMCConnector) Search ¶
func (c PMCConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the NCBI E-utilities esearch endpoint for PMC, then fetches metadata via esummary, and normalizes results into SourceRecords.
type PubChemConnector ¶
type PubChemConnector struct {
// contains filtered or unexported fields
}
PubChemConnector searches PubChem for chemical compounds.
PubChem is NCBI's open chemical database (100M+ compounds). The connector searches by compound name and returns compound records with IUPAC names, molecular formulas, molecular weights, InChIKeys, and SMILES. All PubChem data is open (CC0). Compound IDs (CIDs) are stored as CrossrefID.
Two-step query: (1) name→CID list, (2) CID list→properties batch fetch.
func NewPubChemConnector ¶
func NewPubChemConnector(httpClient transport.HTTPClient) PubChemConnector
NewPubChemConnector creates a PubChem source connector.
func (PubChemConnector) Name ¶
func (PubChemConnector) Name() string
Name returns the connector source name.
func (PubChemConnector) Search ¶
func (c PubChemConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries PubChem by compound name and returns compound SourceRecords.
type PubMedConnector ¶
type PubMedConnector struct {
// contains filtered or unexported fields
}
PubMedConnector searches PubMed through NCBI E-utilities JSON endpoints.
func NewPubMedConnector ¶
func NewPubMedConnector(httpClient transport.HTTPClient) PubMedConnector
NewPubMedConnector creates a PubMed source connector.
func NewPubMedConnectorWithOptions ¶
func NewPubMedConnectorWithOptions(httpClient transport.HTTPClient, options PubMedOptions) PubMedConnector
NewPubMedConnectorWithOptions creates a PubMed source connector with optional NCBI identification.
func (PubMedConnector) Name ¶
func (PubMedConnector) Name() string
Name returns the connector source name.
func (PubMedConnector) Search ¶
func (c PubMedConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries PubMed ESearch then ESummary and normalizes results into SourceRecords.
type PubMedOptions ¶
PubMedOptions configures optional NCBI E-utilities identification parameters.
type ResearchSquareConnector ¶
type ResearchSquareConnector struct {
// contains filtered or unexported fields
}
ResearchSquareConnector searches the Research Square preprint repository.
Research Square (researchsquare.com) is a preprint server serving multiple journal communities. It provides a public REST search API with no authentication required.
func NewResearchSquareConnector ¶
func NewResearchSquareConnector(httpClient transport.HTTPClient) ResearchSquareConnector
NewResearchSquareConnector creates a Research Square source connector.
func (ResearchSquareConnector) Name ¶
func (ResearchSquareConnector) Name() string
Name returns the connector source name.
func (ResearchSquareConnector) Search ¶
func (c ResearchSquareConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the Research Square search API and normalizes results into SourceRecords.
type SemanticScholarConnector ¶
type SemanticScholarConnector struct {
// contains filtered or unexported fields
}
SemanticScholarConnector searches the Semantic Scholar Graph API paper index.
func NewSemanticScholarConnector ¶
func NewSemanticScholarConnector(httpClient transport.HTTPClient) SemanticScholarConnector
NewSemanticScholarConnector creates a Semantic Scholar source connector.
func (SemanticScholarConnector) ExpandCitationGraph ¶
func (c SemanticScholarConnector) ExpandCitationGraph(ctx context.Context, query core.SemanticScholarGraphQuery) (core.CitationGraphExpansion, error)
ExpandCitationGraph fetches references, citations, or both around one Semantic Scholar paper.
func (SemanticScholarConnector) Name ¶
func (SemanticScholarConnector) Name() string
Name returns the connector source name.
func (SemanticScholarConnector) Search ¶
func (c SemanticScholarConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries Semantic Scholar papers and normalizes results into SourceRecords.
type SemanticScholarGraphRun ¶
type SemanticScholarGraphRun struct {
SchemaVersion string `json:"schemaVersion"`
SeedID string `json:"seedId"`
Direction core.SemanticScholarGraphDirection `json:"direction"`
Limit int `json:"limit"`
Depth int `json:"depth"`
MaxRecords int `json:"maxRecords"`
RequestedFields []string `json:"requestedFields"`
FieldRestrictions []string `json:"fieldRestrictions,omitempty"`
QuotaRemaining int `json:"quotaRemaining"`
Budget core.GraphExpansionBudget `json:"budget"`
BudgetEstimate core.GraphExpansionBudgetEstimate `json:"budgetEstimate"`
ResumeCursor string `json:"resumeCursor,omitempty"`
Visited []string `json:"visited"`
NextFrontier []string `json:"nextFrontier"`
EdgeCount int `json:"edgeCount"`
RecordCount int `json:"recordCount"`
Completed bool `json:"completed"`
}
func NewSemanticScholarGraphRun ¶
func NewSemanticScholarGraphRun(opts SemanticScholarGraphRunOptions) SemanticScholarGraphRun
func (SemanticScholarGraphRun) HasFieldRestriction ¶
func (r SemanticScholarGraphRun) HasFieldRestriction(field string) bool
func (SemanticScholarGraphRun) RecordExpansion ¶
func (r SemanticScholarGraphRun) RecordExpansion(expansion core.CitationGraphExpansion, nextFrontier []string, quotaRemaining int) SemanticScholarGraphRun
type SemanticScholarGraphRunOptions ¶
type SemanticScholarGraphRunOptions struct {
SeedID string
Direction core.SemanticScholarGraphDirection
Limit, Depth, MaxRecords int
RequestedFields []string
QuotaRemaining int
Budget core.GraphExpansionBudget
}
type UnpaywallConnector ¶
type UnpaywallConnector struct {
// contains filtered or unexported fields
}
UnpaywallConnector looks up open-access metadata for a DOI.
func NewUnpaywallConnector ¶
func NewUnpaywallConnector(httpClient transport.HTTPClient, email string) UnpaywallConnector
NewUnpaywallConnector creates an Unpaywall DOI lookup connector.
func (UnpaywallConnector) LookupDOI ¶
func (c UnpaywallConnector) LookupDOI(ctx context.Context, doi string) (OpenAccessRecord, error)
LookupDOI fetches and normalizes Unpaywall metadata for a DOI.
func (UnpaywallConnector) Name ¶
func (UnpaywallConnector) Name() string
Name returns the connector source name.
type ZbMATHConnector ¶
type ZbMATHConnector struct {
// contains filtered or unexported fields
}
ZbMATHConnector searches the zbMATH Open mathematics database.
Some records have title/abstract redacted due to publisher license conflicts; those records are skipped. The search path is /v1/document/_search with search_string parameter (not /v1/document/ with q=).
func NewZbMATHConnector ¶
func NewZbMATHConnector(httpClient transport.HTTPClient) ZbMATHConnector
NewZbMATHConnector creates a zbMATH source connector.
func (ZbMATHConnector) Name ¶
func (ZbMATHConnector) Name() string
Name returns the connector source name.
func (ZbMATHConnector) Search ¶
func (c ZbMATHConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the zbMATH Open REST API and normalizes results into SourceRecords.
type ZenodoConnector ¶
type ZenodoConnector struct {
// contains filtered or unexported fields
}
ZenodoConnector searches the Zenodo open repository.
func NewZenodoConnector ¶
func NewZenodoConnector(httpClient transport.HTTPClient) ZenodoConnector
NewZenodoConnector creates a Zenodo source connector.
func (ZenodoConnector) Name ¶
func (ZenodoConnector) Name() string
Name returns the connector source name.
func (ZenodoConnector) Search ¶
func (c ZenodoConnector) Search(ctx context.Context, query core.SourceQuery) (core.SourceResponse, error)
Search queries the Zenodo REST API and normalizes results into SourceRecords.
Source Files
¶
- arxiv.go
- base.go
- biorxiv.go
- biostudies.go
- chemrxiv.go
- cinii.go
- clinicaltrials.go
- crossref.go
- datacite.go
- dataverse.go
- dblp.go
- dimensions.go
- doab.go
- dryad.go
- elife.go
- eric.go
- europepmc.go
- figshare.go
- gbif.go
- hal.go
- huggingface.go
- inspirehep.go
- lens.go
- nasa_ads.go
- nasa_cmr.go
- nber.go
- ntrs.go
- oapen.go
- openaire.go
- openalex.go
- openalex_disambiguation.go
- openalex_presets.go
- opencitations.go
- openlibrary.go
- osf.go
- osti.go
- plos.go
- pmc.go
- pubchem.go
- pubmed.go
- researchsquare.go
- semantic_scholar.go
- semantic_scholar_run.go
- unpaywall.go
- zbmath.go
- zenodo.go