package
0.6.27
Repository: https://github.com/front-matter/commonmeta.git
Documentation: pkg.go.dev

# Functions

Fetch gets the metadata for a single work from the Crossref API and converts it to the Commonmeta format.
FetchAll gets the metadata for a list of works from the Crossref API and converts it to the Commonmeta format.
Get gets the metadata for a single work from the Crossref API.
GetAll gets the metadata for a list of works from the Crossref API.
Get the Crossref member name for a given memberId.
Load loads the metadata for a single work from a JSON file.
LoadAll loads the metadata for a list of works from a JSON file and converts it to the Commonmeta format.
NewReader returns a new Reader that reads from r.
QueryURL returns the URL for the Crossref API query.
Read Crossref JSON response and return work struct in Commonmeta format.
ReadAll reads a list of Crossref JSON responses and returns a list of works in Commonmeta format.

# Variables

CrossrefContainerTypes maps Crossref types to Crossref container types.
CRToCMContainerTranslations maps Crossref container types to Commonmeta container types.
CRToCMMappings maps Crossref types to Commonmeta types source: http://api.crossref.org/types.

# Structs

Content is the struct for the message in the JSON response from the Crossref API.
No description provided by the author