GithubHelp home page GithubHelp logo

lamira-stack / odnblockbuster Goto Github PK

View Code? Open in Web Editor NEW

This project forked from smramr/odnblockbuster

0.0 0.0 0.0 60 KB

Upload OMDb data to OriginTrail DKG

License: MIT License

JavaScript 60.75% Shell 39.25%

odnblockbuster's Introduction

Work in progress. Feedback is welcomed! @ethsplainer

This script collects metadata of a random movie and uploads it to the DKG.

Example data

{
  "@type": "http://schema.org/Movie",
  "http://schema.org/actor": {
    "@type": "http://schema.org/Person",
    "http://schema.org/name": "Ram Charan, Genelia D'Souza, Shazahn Padamsee"
  },
  "http://schema.org/aggregateRating": {
    "@type": "http://schema.org/AggregateRating",
    "http://schema.org/ratingValue": "6.7"
  },
  "http://schema.org/award": "3 nominations",
  "http://schema.org/countryOfOrigin": "India",
  "http://schema.org/dateCreated": {
    "@type": "http://schema.org/Date",
    "@value": "2010"
  },
  "http://schema.org/datePublished": {
    "@type": "http://schema.org/Date",
    "@value": "26 Nov 2010"
  },
  "http://schema.org/description": "A man, who doesn't believe that love can last a lifetime, pursues an exuberant romantic, but their clashing ideologies keep them apart.",
  "http://schema.org/director": {
    "@type": "http://schema.org/Person",
    "http://schema.org/name": "Bommarillu Baskar"
  },
  "http://schema.org/duration": "162 min",
  "http://schema.org/name": "Orange",
  "http://schema.org/thumbnailUrl": {
    "@id": "https://m.media-amazon.com/images/M/MV5BM2ZkZGIwZDAtNGU1ZS00NTlkLThjYjYtMjU5MzQzNDQyMTBmXkEyXkFqcGdeQXVyODA2ODM3NDQ@._V1_SX300.jpg"
  }
}

Installation:

Make sure you have an OMDB API key. Get one here: https://www.omdbapi.com/apikey.aspx

cd ~ && sudo git clone https://github.com/samir-amriti/ODNBlockbuster.git && cd ODNBlockbuster && npm i && ./Installer.sh

Reading logs

journalctl -u blockbuster --output cat -fn 100

Service control

systemctl {status}/{start}/{stop} blockbuster

odnblockbuster's People

Contributors

smramr avatar

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.