titolovod

package
v0.0.0-...-c1d82b4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response []struct {
	ResultCode string        `json:"resultCode"`
	SystemTime int           `json:"systemTime"`
	Errors     []interface{} `json:"errors"`
	ResultObj  struct {
		ID         string `json:"id"`
		Containers []struct {
			Actions []struct {
				Key        string `json:"key"`
				URI        string `json:"uri"`
				TargetType string `json:"targetType"`
			} `json:"actions"`
			Layout   string `json:"layout"`
			Metadata struct {
				ShortDescription      string      `json:"-"`
				ParentalControlLevel  string      `json:"parentalControlLevel"`
				Language              string      `json:"language"`
				ContentID             string      `json:"contentId"`
				ExpirationDate        int         `json:"expirationDate"`
				Title                 string      `json:"title"`
				ContentAnalyticsType  string      `json:"contentAnalyticsType"`
				Type                  string      `json:"type"`
				LongDescription       string      `json:"longDescription"`
				Year                  string      `json:"year"`
				ContentProvider       string      `json:"contentProvider"`
				Duration              int         `json:"duration"`
				Genre                 string      `json:"genre"`
				SupportedDevices      []string    `json:"supportedDevices"`
				CategoriesThemeArea   []string    `json:"categoriesThemeArea"`
				Rating                string      `json:"rating"`
				Badge                 string      `json:"badge"`
				OfferTypeLabel        interface{} `json:"offerTypeLabel"`
				ImageURL              string      `json:"imageUrl"`
				ImageURLOther         string      `json:"imageUrlOther"`
				BgImageURL            string      `json:"bgImageUrl"`
				DisplayExpirationDate string      `json:"displayExpirationDate"`
				Directors             []string    `json:"directors"`
				Actors                []string    `json:"actors"`
				BroadcastDisplayDate  string      `json:"broadcastDisplayDate"`
				ObjectSubtype         string      `json:"objectSubtype"`
				ObjectType            string      `json:"objectType"`
				TitleBrief            string      `json:"titleBrief"`
				VideoType             []string    `json:"videoType"`
			}
		}
	}
}

func ElaboraResp

func ElaboraResp(bodyBytes []byte) (result Response, err error)

ElaboraResp elabora la risposta ricevuta dal server.

func Get

func Get(ctx context.Context, idvideoteca string) (result Response, err error)

Get recupera i dati del VOD

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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