MyEpisodes Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A way to resolve TVmaze and TheTVDB id to show on MyEpisode

 
Post new topic   Reply to topic    MyEpisodes Forum Index -> Requests
View previous topic :: View next topic  
Author Message
ibwolf
Tester

Posts: 48

PostPosted: Mon Oct 19, 2015 2:56 pm    Post subject: A way to resolve TVmaze and TheTVDB id to show on MyEpisode Reply with quote

I.e. if I went to a link that looked like:

https://myepisodes/tvmaze-id/263

you would be forwarded to

http://www.myepisodes.com/show/id-14525/

I.e. the show's page here on MyEpisodes.

And a similar thing for thetvdb ID as well.

If the ID isn't in the database, then just return a 404.

The use case is that this allows me (and others) to add a link to MyEpisodes on those other sites using a greasemonkey script.
Back to top
View user's profile Send private message
IceMan
Founder
Founder

Posts: 611
Location: Denmark

PostPosted: Mon Oct 19, 2015 3:21 pm    Post subject: Re: A way to resolve TVmaze and TheTVDB id to show on MyEpis Reply with quote

ibwolf wrote:
I.e. if I went to a link that looked like:

https://myepisodes/tvmaze-id/263

you would be forwarded to

http://www.myepisodes.com/show/id-14525/

I.e. the show's page here on MyEpisodes.

And a similar thing for thetvdb ID as well.

If the ID isn't in the database, then just return a 404.

The use case is that this allows me (and others) to add a link to MyEpisodes on those other sites using a greasemonkey script.


Hi ibwolf.
I think this could be possible with our API.
But i don't think I would ever make the redirect thing.
Back to top
View user's profile Send private message Visit poster's website
ibwolf
Tester

Posts: 48

PostPosted: Mon Oct 19, 2015 3:37 pm    Post subject: Reply with quote

This site has an API?

That news to me. Is there any documentation?
Back to top
View user's profile Send private message
IceMan
Founder
Founder

Posts: 611
Location: Denmark

PostPosted: Mon Oct 19, 2015 3:44 pm    Post subject: Reply with quote

Nope ... no documentation and no one knows it even exist. Wink

But I'm working quite extensively on the API.
Would like to release it soon.
Should make it less annoying for developers of apps/extension not to rely on the HTML stuff.

There is also an AJAX service, that can do almost anything that is already available on the site.

You are in the test group, so I will see if i can make a small documentation in the test forum for you. Smile
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    MyEpisodes Forum Index -> Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Main design by MW. Refitted to board by Hostile.