Skip to content
This repository was archived by the owner on Apr 9, 2019. It is now read-only.

nicanordlc/getseries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getseries

Package to fetch series from a not so random API ¯\(ツ)

Note: This get the last season or last episode or both latest if you don't specify any.

Prerequisite

In order for this script to work you must have these environment variables in your ${shell_profile}rc

GET_SERIES_ENDPOINT=<some-endpoint>
GET_SERIES_SEASONS_ENDPOINT=<another-endpoint>

USAGE

$ getseries <NAME> [PATTERN]

PATTERN

s<number>       season
e<number>       episode

EXAMPLE

$ getserie arrow
    Get the last episode from the last season

$ getserie arrow s1
    Get the last episode from season 1

$ get serie arrow s1 e2
    Get the second episode from season 1

Hey!

Commits on this PR are made with commitizen ;)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors