Jump to content

Plugin idea: need to find Theater Showtimes api


Recommended Posts

Posted

Anyone know of an local Theater Showtimes API on the web.

 

Google will display HTML of local Showtimes that could be "HTMLAgilty" packed into a plugin, but requesting JSON would be faster... Ya know.

PenkethBoy
Posted

there appear to be several but they all want mooola for you to use them offically or sound a tad dodgy or terms of service apply or....

 

quick "theatre showtimes api" goolge will get you going :)

  • Like 1
Posted (edited)

I wrote a channel. I was able to get the information I need off the internet.

 

The plugin itself can't be put into Embys catalog, but I could post it here maybe.

 

I just need to get some string replacements in order to display the information.

 

The only other thing is how to display the channel.

 

The page is going to look like a Libraray.

What would be cool is to link to a trailer available in the trailers plugin.

 

Instead of the normal metadata it will display Showtimes at your local Theater.

The Theater phone number, and location.

 

What would be even more amazing would be to somehow allow the purchase of tickets for a showtime directly from the channel interface. But, that is more then a little difficult.

 

Both APIs mentioned in this thread gather their information from the same place I got it from.

 

But, as stated above, it goes against certain TOS.

Edited by chef
PenkethBoy
Posted

@@chef i would be interested to test etc

Posted

@@chef i would be interested to test etc

Great. Should post here soon ;)

Posted

I was able to finally build an API to get the information needed to have a Library of local movies and Showtimes. Where the genre line in the emby UI show the different Showtimes of a particular movie playing at your local Theater.

 

However, I have two questions:

 

1. How do you add HtmlAgilityPack to your plugin so that it is like an embedded resource.

Most channels use this library however it is not in Embys list of resources. So when emby updates it removes HtmlAgilityPack DLL from the folder structure.

 

2. Can I use Embys internal Image scrapper in my channel? I have all the items showing on the channel, but haven't any way of giving them an InageUrl parameter.

  • 3 weeks later...
PenkethBoy
Posted

@@chef

Any update?

Posted (edited)
Edited by chef
PenkethBoy
Posted

no problem when you are ready

 

i have some coding plans as well :)

Posted

I used Xpath to read HTML and choose Showtimes and movie names.

 

It took forever to get it working.

 

Maybe I should just post the sln.

Posted

Maybe I should just post the sln.

 

Let's not do that please since this web-scraping technique is against our development terms.  Thanks.

  • Like 1
Posted

Okay.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...