View previous topic :: View next topic |
Author |
Message |
ibwolf Tester
Posts: 48
|
Posted: Mon Oct 19, 2015 2:56 pm Post subject: A way to resolve TVmaze and TheTVDB id to show on MyEpisode |
|
|
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 |
|
|
IceMan Founder
Posts: 611 Location: Denmark
|
Posted: Mon Oct 19, 2015 3:21 pm Post subject: Re: A way to resolve TVmaze and TheTVDB id to show on MyEpis |
|
|
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 |
|
|
ibwolf Tester
Posts: 48
|
Posted: Mon Oct 19, 2015 3:37 pm Post subject: |
|
|
This site has an API?
That news to me. Is there any documentation? |
|
Back to top |
|
|
IceMan Founder
Posts: 611 Location: Denmark
|
Posted: Mon Oct 19, 2015 3:44 pm Post subject: |
|
|
Nope ... no documentation and no one knows it even exist.
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. |
|
Back to top |
|
|
|