Skip to content

riffaud/movie-recommendations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie Recommendations CLI tool build status

Golang CLI tool to search movie recommendations based on time ang genre.

Prerequisites

The package depends on Golang.

Install and Run

To install, checkout this repository, and run at the root of the project:

go build

To use, run:

./movie-recommendations --genre="animation" --showing="00:00"

Both parameters are optional.

Use in your code

You can use this library directly in your code. There is only one type of storage at the moment, that is taking an io.Reader as an argument.

import "github.com/riffaudo/movie-recommendations/movie"

storage, _ := movie.StorageFromReader(io.Reader)
moviesData := storage.Load(movie.SearchParams{Genre: "Animation"})

Running the tests

The acceptance tests require that you build first:

go build

then run:

go test -v ./...

About

Golang CLI tool to search movie recommendations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages