amc

package
v1.54.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: OSL-3.0 Imports: 10 Imported by: 2

README

AMC

Android client

https://play.google.com/store/apps/details?id=com.amcplus.amcfullepisodes

com.amcplus.amcfullepisodes

TRY 7 DAYS FREE

  1. MONTHLY
  2. Cancel anytime
  3. SETTINGS
  4. Subscription
  5. CANCEL
  6. NO THANKS, CANCEL AMC+

Why does this exist?

June 2 2022

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

func GetNID added in v1.53.8

func GetNID(input string) (int64, error)

Types

type Auth

type Auth struct {
	Data struct {
		Access_Token  string
		Refresh_Token string
	}
}

func OpenAuth

func OpenAuth(elem ...string) (*Auth, error)

func Unauth

func Unauth() (*Auth, error)

func (Auth) Create

func (a Auth) Create(elem ...string) error

func (*Auth) Login

func (a *Auth) Login(email, password string) error

func (Auth) Playback

func (a Auth) Playback(nid int64) (*Playback, error)

func (*Auth) Refresh

func (a *Auth) Refresh() error

type Playback

type Playback struct {
	PlaybackJsonData PlaybackJsonData
	BcJWT            string
}

func (Playback) Base added in v1.53.8

func (p Playback) Base() string

func (Playback) DASH

func (p Playback) DASH() *Source

func (Playback) Key added in v1.54.2

func (p Playback) Key(privateKey, clientID, keyID []byte) ([]byte, error)

type PlaybackJsonData added in v1.53.8

type PlaybackJsonData struct {
	Custom_Fields struct {
		Show    string // 1
		Season  string // 2
		Episode string // 3
	}
	Name    string // 4
	Sources []Source
}

type Source

type Source struct {
	Key_Systems *struct {
		Widevine struct {
			License_URL string
		} `json:"com.widevine.alpha"`
	}
	Src  string
	Type string
}

Jump to

Keyboard shortcuts

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