danesparza / tvshow-info Goto Github PK
View Code? Open in Web Editor NEWA .NET class library for getting information about a TV show episode
License: MIT License
A .NET class library for getting information about a TV show episode
License: MIT License
In the only provided example, step 3 states:
"Set the appropriate configuration values for your providers (like API keys) in the app.config or web.config."
And no further information is provided on what the keys are named or where they go.
I attempted to look in the tests folder and found a decent example of where the keys by examing the app.config file.
I placed my TV DB API key in the app.config file under configuration/appSettings named "TheTVDB_APIKey" -- when I try to execute the provided sample code the following exception is thrown "Unhandled Exception: System.ApplicationException: Missing Rovi API key or secret. Please include the Rovi_APIKey and Rovi_APISecret in the application config" when I call "showMgr.GetEpisodeInfoForFilename(filename)"
I'm not using ROVI though, and I don't see any information on how to tell the API to use the TV DB instead of ROVI. Is it using ROVI by default?
... so, I signed up for a ROVI account, I signed up for all three APIs -- however -- the TV listings API does not use a key/secret mechanism like the other two -- it only uses keys (there is no secret listed, only a key).
I tried to supply the key in the app.config file as well -- under configuration/appSettings named "Rovi_APIKey" with my key set. It doesn't work, it throws the same exception at the same spot.
I really don't know what else to do, without further information, this library is unusable.
When I call the above using the following code, I get the (following) error message
Method not found: 'System.String ServiceStack.Text.WebRequestExtensions.GetJsonFromUrl(System.String, System.Action1<System.Net.HttpWebRequest>, System.Action
1<System.Net.HttpWebResponse>)'.'
Triggered using
ShowInformationManager showMgr = new ShowInformationManager();
TVEpisodeInfo episode = showMgr.GetEpisodeInfo(strShow, intSeason, intEpisode);
where strShow="Power" (as an example), intSeason=5, intEpisode=6
I get the same error following your example (Once upon a time)
Please advise what I'm missing?
using System;
using System.IO;
using System.Configuration;
using System.Net;
using ShowInfo;
using ShowInfoProvider;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.