amc

package
v1.54.6 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 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

Functions

func Get_NID added in v1.54.5

func Get_NID(input string) (int64, error)

Types

type Auth

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

func Open_Auth added in v1.54.6

func Open_Auth(name string) (*Auth, error)

func Unauth

func Unauth() (*Auth, error)

func (Auth) Create

func (a Auth) Create(name 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 Client added in v1.54.3

type Client = widevine.Client

type Playback

type Playback struct {
	PlaybackJsonData Playback_JSON_Data
	BC_JWT           string
}

func (Playback) Base added in v1.53.8

func (p Playback) Base() string

func (Playback) Content added in v1.54.3

func (p Playback) Content(c Client) (*widevine.Content, error)

func (Playback) DASH

func (p Playback) DASH() *Source

type Playback_JSON_Data added in v1.54.6

type Playback_JSON_Data 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