public MassengeschmackEpisode(string identifier, int pid, int contentType, string title, string pdesc, string img, string desc, string duration, int epnum, string thumbnail, string teaserfile, int date, bool subscribed, MassengeschmackAPI api) : base(identifier, pid, title, pdesc, img, desc, duration, date, subscribed, teaserfile) { this.contentType = contentType; this.epnum = epnum; this.thumbnail = thumbnail; }
static void Main(string[] args) { Console.Write("Email: "); string email = Console.ReadLine(); Console.Write("Passwort: "); string passwort = Console.ReadLine(); MassengeschmackAPI mgapi = new MassengeschmackAPI(email, passwort, "massengeschmack.tv"); MassengeschmackSubscription[] erg = mgapi.listSubscriptions(); int[] erg2 = mgapi.listSubscriptionsID(); MassengeschmackEpisode[] mainfeed = mgapi.getMainFeed(); MassengeschmackFeed feed = mgapi.getFeed(new int[] { 1 }); MassengeschmackClip clip = mgapi.getClip("studio-132"); Console.WriteLine(clip.Date.ToString()); Console.WriteLine(clip.Description.ToString()); Console.WriteLine(clip.Duration.ToString()); Console.WriteLine(clip.Identifier.ToString()); Console.WriteLine(clip.Image.ToString()); Console.WriteLine(clip.ProjectDescription.ToString()); Console.WriteLine(clip.ProjectID.ToString()); Console.WriteLine(clip.Subscribed.ToString()); Console.WriteLine(clip.Teaser.ToString()); Console.WriteLine(clip.Title.ToString()); Console.ReadLine(); Console.ReadLine(); }
public MassengeschmackFeed(List<MassengeschmackEpisode> eps, int pages, int next, int prev, int[] from, int[] contentType, int limit, MassengeschmackAPI api) { this.eps = eps; this.pages = pages; this.next = next; this.prev = prev; this.from = from; this.contentType = contentType; this.limit = limit; this.api = api; }
public MassengeschmackSubscription(string title, int pid, MassengeschmackAPI api) { this.title = title; this.pid = pid; this.api = api; }