diff options
author | randomdan <randomdan@localhost> | 2014-09-19 23:52:30 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2014-09-19 23:52:30 +0000 |
commit | 28691c29e93fbc4fdb5ae4866287282840fba021 (patch) | |
tree | 8b83ca80afc3f3a5d11b04a56c440d2aa38f4e16 /libtmdb/tmdb-api.ice | |
parent | Support muxing directly in storage (diff) | |
download | p2pvr-28691c29e93fbc4fdb5ae4866287282840fba021.tar.bz2 p2pvr-28691c29e93fbc4fdb5ae4866287282840fba021.tar.xz p2pvr-28691c29e93fbc4fdb5ae4866287282840fba021.zip |
First bash at a slicer ice proxy for TMDb and an untested instantiation in p2pvr's core adapter
Diffstat (limited to 'libtmdb/tmdb-api.ice')
-rw-r--r-- | libtmdb/tmdb-api.ice | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libtmdb/tmdb-api.ice b/libtmdb/tmdb-api.ice new file mode 100644 index 0000000..e116f2d --- /dev/null +++ b/libtmdb/tmdb-api.ice @@ -0,0 +1,21 @@ +#ifndef TMDB_API_ICE +#define TMDB_API_ICE + +#include "tmdb-models.ice" + +module TMDb { + exception HttpException { + int code; + }; + interface API { + idempotent SearchMultiResults SearchMulti(string query, optional(0) int page); + idempotent SearchMovieResults SearchMovies(string query, optional(1) int year, optional(0) int page); + idempotent SearchPersonResults SearchPersons(string query, optional(0) int page); + idempotent SearchTvResults SearchTv(string query, optional(0) int page); + idempotent Movie GetMovie(int id); + idempotent TvSeries GetTvSeries(int id); + }; +}; + +#endif + |