Documentation ¶
Index ¶
- func ApisPubMediaGETPUBMEDIALINKS(langwritten string, pub string, fileformat string, issue string) (toret structs.ApisPubMediaGETPUBMEDIALINKS, status []structs.ApisStatus)
- func CatalogsPublicationsV4CatalogDbGz(version string) []byte
- func CatalogsPublicationsV4Manifest() structs.CatalogsPublicationsV4Manifest
- func SiteLanguages(baselang string) structs.Languages
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApisPubMediaGETPUBMEDIALINKS ¶
func ApisPubMediaGETPUBMEDIALINKS(langwritten string, pub string, fileformat string, issue string) (toret structs.ApisPubMediaGETPUBMEDIALINKS, status []structs.ApisStatus)
ApisPubMediaGETPUBMEDIALINKS - Fetch publication links
func CatalogsPublicationsV4CatalogDbGz ¶
CatalogsPublicationsV4CatalogDbGz get gzipped catalog 'https://app.jw-cdn.org/catalogs/publications/v4/815ecc5a-e72b-48ac-aa9f-e1e7d256e43b/catalog.db.gz'
func CatalogsPublicationsV4Manifest ¶
func CatalogsPublicationsV4Manifest() structs.CatalogsPublicationsV4Manifest
CatalogsPublicationsV4Manifest is meant to receive part of url required to get catalog.db curl --silent https://app.jw-cdn.org/catalogs/publications/v4/manifest.json | jq
{ "version": 1, "current": "815ecc5a-e72b-48ac-aa9f-e1e7d256e43b" }
func SiteLanguages ¶
SiteLanguages - fetch https://www.jw.org/en/languages/ and return structs.Languages{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.