Giter VIP home page Giter VIP logo

filmweb-php's Introduction

filmweb-php

UWAGA PROJEKT PRZENIESIONY DO filmweb-api

Prosty parser filmweb.pl - na chwilę obecną zwraca takie dane jak: tytuł filmu, oryginaly tytuł, opis, rok produkcji, kategorie.

Zapraszam do odwiedzenia strony nSolutions.pl

Przykładowy zrzut dla filmu Matrix

object(stdClass)#1 (7) {
  ["title"]=>
  string(6) "Matrix"
  ["origTitle"]=>
  string(11) "Matrix, The"
  ["description"]=>
  string(178) "Haker komputerowy Neo dowiaduje się od tajemniczych rebeliantów o tym, że świat w którym żyje jest tylko obrazem przesyłanym do jego mózgu przez roboty."
  ["year"]=>
  string(4) "1999"
  ["genres"]=>
  array(2) {
    [0]=>
    array(2) {
      ["key"]=>
      string(2) "28"
      ["value"]=>
      string(5) "akcja"
    }
    [1]=>
    array(2) {
      ["key"]=>
      string(2) "33"
      ["value"]=>
      string(6) "sci-fi"
    }
  }
  ["cover"]=>
  string(60) "http://1.fwcdn.pl/po/06/28/628/7495038.3.jpg?l=1350559192000"
  ["tags"]=>
  array(24) {
    [0]=>
    string(4) "Lana"
    [1]=>
    string(9) "Wachowski"
    [2]=>
    string(4) "Andy"
    [3]=>
    string(9) "Wachowski"
    [4]=>
    string(5) "Keanu"
    [5]=>
    string(6) "Reeves"
    [6]=>
    string(8) "Laurence"
    [7]=>
    string(9) "Fishburne"
    [8]=>
    string(11) "Carrie-Anne"
    [9]=>
    string(4) "Moss"
    [10]=>
    string(4) "Hugo"
    [11]=>
    string(7) "Weaving"
    [12]=>
    string(6) "Gloria"
    [13]=>
    string(6) "Foster"
    [14]=>
    string(3) "Joe"
    [15]=>
    string(10) "Pantoliano"
    [16]=>
    string(6) "Marcus"
    [17]=>
    string(5) "Chong"
    [18]=>
    string(6) "Julian"
    [19]=>
    string(8) "Arahanga"
    [20]=>
    string(7) "Belinda"
    [21]=>
    string(7) "McClory"
    [22]=>
    string(4) "Matt"
    [23]=>
    string(5) "Doran"
  }
}

Przykładowe użycie

<?php
// Ładowanie klasy filmweba
require_once 'classes/filmweb.php';

// Ładowanie klasy Remote
require_once 'classes/remote.php';

// Zwróci nam informacje o filmie Matrix
var_dump(Filmweb_Parser::getMovie('Matrix'));
?>

TODO

Piszcie co dodać - jaką funkcjonalność :)

Bitdeli Badge

filmweb-php's People

Contributors

b44x avatar bitdeli-chef avatar

Watchers

James Cloos avatar Md. Sumon Islam avatar  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.