Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/egeback/play_media_api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/egeback/play_media_api

  • v1.0.8
  • Source
  • Go
  • Socket score

Version published
Created
Source

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)

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

FAQs

Package last updated on 05 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc