Skip to content

A php bot that pulls data from many sites such as cinema, theater, movie, ticket, etc. The purpose here is to show the relationship between the architecture and the modular, It was also written to show how it can be managed by the terminal.

Notifications You must be signed in to change notification settings

diloabininyeri/php-bot

Repository files navigation

###muzlu.com

muzlu.com

#####Developed by muzlu.com team

<?php

/**
 * @api
 *
 * @link http://www.biletix.com/solr/tr/select/?start=0&rows=300&q=subcategory:tiyatro$ART&qt=standard&indent=true&fq=start:[2018-07-20T00:00:00Z TO 2020-07-20T00:00:00Z+1DAY]&sort=start asc, vote desc&&wt=json&indent=true&facet=true&facet.field=category&facet.field=venuecode&facet.field=region&facet.field=subcategory&facet.mincount=1&json.wrf=jQuery111303694218199738495_1532085330403&_=1532085330404
 */


header('Content-type: application/json; charset=utf-8');


require_once "vendor/autoload.php";


use Factory\FactoryClass;


$factory = new FactoryClass();


$result = $factory
    ->sendParameters($_GET)
    ->createClass($_GET["number"]);

echo "<pre>";


print_r($result);

About

A php bot that pulls data from many sites such as cinema, theater, movie, ticket, etc. The purpose here is to show the relationship between the architecture and the modular, It was also written to show how it can be managed by the terminal.

Resources

Stars

Watchers

Forks

Packages