Try 30 days of free premium.

Network / Web Channel endpoint

Labrys wrote 8 years ago: 1

It would be really nice to have a network (and web channel) endpoints similar to shows.

For example so you can hit http://api.tvmaze.com/networks?page=2 to page through an index of all available networks or http://api.tvmaze.com/networks/1?embed=shows to get information about a specific network (e.g. ID, country, timezone, logo, official website) and be able to embed information into it such as shows. Possibly even going so far as adding an ability to get previous and next names for a network and embedding information such as shows from those network names as well. I know the last would be a difficult thing to accommodate, but I think it would be a really nice feature.


gazza911 wrote 8 years ago: 1

Regarding previous names, I could be wrong but I don't think TVMaze keeps a record.

Labrys wrote 8 years ago: 1

gazza911 wrote:
Regarding previous names, I could be wrong but I don't think TVMaze keeps a record.

I think you're probably right about TVMaze likely not keeping a record of previous network names, but it doesn't hurt to ask. :)


david wrote 8 years ago: 2

I'm open to adding endpoints for Networks & Web Channels if there's sufficient demand.

RayW wrote 7 years ago: 1

I would definitely like to see this happen if you're still open to adding this?

apxeno wrote 7 years ago: 1

Hello. Adding networks and web channels would be great!

This makes the database more detailed, for example, by providing a way to give some sort of credit to a show.

---

Signed, apxeno.

cweiler52 wrote 5 years ago: 1

david wrote:
I'm open to adding endpoints for Networks & Web Channels if there's sufficient demand.

Please make this happen! I'm looking to filter results based on a search of what web channel (ie: hulu, netflix, amazon etc...). A way to do this with networks would be nice too.

deleted wrote 5 years ago: 1

This would be really helpful for displaying information about netflix etc +1

Ken62465 wrote 5 years ago: 1

stumbled upon this while trying to find out if a newtwork_id list for the api was available. Sure would be nice to retrieve a show list by network

Ken62465 wrote 5 years ago: 1

this has been requested a few times here. Is there a chance we can get this added?


Jan wrote 5 years ago: 1

Ken62465 wrote:
this has been requested a few times here. Is there a chance we can get this added?

Hi Ken,

It's definitely something that can be discussed internally as it has been requested a couple of times.
However I can't provide you an eta as we've already planned what we'll be working on for the next few months.

cheers,

Jan

heyted wrote 4 years ago: 1

Since a list with all network id numbers and names is not yet available using the api, is there a list with this information available on the site or is visiting https://www.tvmaze.com/networks the easiest way to get this information?


gazza911 wrote 4 years ago: 1

heyted wrote:
Since a list with all network id numbers and names is not yet available using the api, is there a list with this information available on the site or is visiting https://www.tvmaze.com/networks the easiest way to get this information?

I wouldn't suggest using https://www.tvmaze.com/networks to get it as you'd have to go through each page.

What I do in my own scripts (unofficially) is iterate through the Network/Web Channel select boxes on the create request page; https://www.tvmaze.com/request/create - requires you to be logged in, otherwise use https://www.tvmaze.com/shows.

This is completely unsupported (as it's not via the API) and could easily be broken at any point.

Labrys wrote 4 years ago: 1

It's generally considered bad practice to scrape a website when the site provides an API, particularly when you can perform the requested actions through functions the API already supports.

One option is to iterate sequentially through IDs for the network and webchannel endpoints but what I do is get all the shows from the pages of the shows index and parse the network and web channels from there as I already use the show data.

Try 30 days of free premium.