jwhttp

package
v0.0.0-...-8291da2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApisPubMediaGETPUBMEDIALINKS(langwritten string, pub string, fileformat string, issue string) (toret structs.ApisPubMediaGETPUBMEDIALINKS, status []structs.ApisStatus)

ApisPubMediaGETPUBMEDIALINKS - Fetch publication links

func CatalogsPublicationsV4CatalogDbGz

func CatalogsPublicationsV4CatalogDbGz(version string) []byte

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

func SiteLanguages(baselang string) structs.Languages

SiteLanguages - fetch https://www.jw.org/en/languages/ and return structs.Languages{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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