Categorygithub.com/egeback/playapi
modulepackage
1.0.8
Repository: https://github.com/egeback/playapi.git
Documentation: pkg.go.dev

# README

Play API

Microservice parsing play services to act as API

Installation

Clone repo

git clone https://github.com/egeback/playapi.git

Deployment options

The microservice can be deployed as standlone application or in a docker container

Standalone golang application

Run build script in from root director

./cmd/build.sh

Run application

./playapi

Docker container

Configure Docker Container

Update Dockefile (update ports)

1. Using docker-compose (link)

docker-compose up -d --no-deps --build

2. Using docker build

docker build -t egeback_playapi .

Both options will run swag, build golang code and deploy container

Using API

Swagger documenation available at http://localhost:8080/api/swagger/index.html

TODO

  • Paging support
  • Convert date strings to time objects
  • Search in show name
  • Search in all episode name
  • Get all episodes
  • Reduced docker size https://www.callicoder.com/docker-golang-image-container-example/
  • Genre should be a list
    • Update SvtPlay
    • Update Tv4Play
    • Update Dplay
  • Newly added items
    • Tv4Play
    • SvtPlay
    • Dplay
  • Fix Tv4 collects from both api and graphsq
  • Additional services
    • Viafree
    • Dplay
  • Add config to configure if premium should be included for dplay
  • Test cases
  • Fix swag from docker
  • Update README.md with documentation
  • Update code documentation

# Packages

No description provided by the author

# Functions

Config ...