Giter Site home page Giter Site logo

internet4000 / media-now Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 5.0 427 KB

Get media information from YouTube and Vimeo videos, Spotify tracks and Discogs releases.

JavaScript 100.00%
api discogs-api microservice music-information-retrieval spotify-api vimeo-api youtube-api

media-now's People

Contributors

hellerve avatar oskarrough avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

media-now's Issues

Automatically detect provider

For kicks, I'd like to be able to do

/provider/YyI52_FEYgY
/provider/121814744

and it will tell you which provider it is. Now, it could be tricky to guess but both Vimeo and YouTube follow strict id conventions which some regex should be able to find.

On provider error return it as an answer

When making a query to the providers api, if there is an error, return those error messages as the media api response.

Should it it be the pure "provider' error message, or should it be a "unified" message thought every providers available?

I am thinking maybe both with something like that:

{
  error: {
    code: '404',
    message: 'content not found',
    providerError: { // raw provider error}
  }
}

What error to return?

Version control

Make sure to tag and release and what not so we don't break applications using media now. Like v1, v2 etc.

Deploy no longer works

Zeit/Now killed their v1 hosting so this project is no longer online on media.now.sh.

Unfortunately strrr.tv depends on this and it doesn't seem easy to deploy on now v2 aka Vercel…

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.