Do we have any idea what the time-scale will be for the change over?
I would love to re-build using the current api, but am having a little difficulty getting my head around the new api, and getting it to work with php.
If the change-over is imminent, then I will not add any users to the system until I have re-written the code, but if we are talking months ahead, then I can build a second system to use the new api until I become competent with it and it's results.
Many thanks,
Dave
Do we have any idea what the time-scale will be for the change over?
On Monday, 30 July 2012 at 13:15, steamydave wrote:Do we have any idea what the time-scale will be for the change over?
HiThanks everyone for your interest. I'm replying here as it's the most pertinent question, but this should hopefully answer all of the questions in this thread. It's good to see people talking about and helping each other with Atlas :)Our plan for migrating users of the XMLTV feed is as follows:
- We will have a revised schedule API available in August. It will have more data that the current feeds, will be available without an API key and will be considered an alpha release. At this point we will add a warning to the .dat files that they will be discontinued in due course.
if 'broadcaster' in data and 'key' in data['broadcaster']: c.publisher.append(data['broadcaster']['key'])
Database: C:\Data\Files\EPG\xmltv.sqlite
Executed in executeAsyncSql: CREATE TABLE IF NOT EXISTS Channels (Id TEXT PRIMARY KEY NOT NULL UNIQUE, Id_Description TEXT NOT NULL, Broadcaster TEXT, Media_Type TEXT NOT NULL) Parms()
Executed in executeAsyncSql: CREATE TABLE IF NOT EXISTS Log (Date TEXT NOT NULL, Time TEXT NOT NULL, Log_Text TEXT) Parms()
Executed in executeAsyncSql: DELETE FROM Log Parms()
Executed in executeAsyncSql: DELETE FROM Channels Parms()
Fetching: http://atlas.metabroadcast.com/3.0/channels.json?&limit=100&offset=0
100 records returned for Channels.
Fetching: http://atlas.metabroadcast.com/3.0/channels.json?&limit=100&offset=100
100 records returned for Channels.
Fetching: http://atlas.metabroadcast.com/3.0/channels.json?&limit=100&offset=200
100 records returned for Channels.
Fetching: http://atlas.metabroadcast.com/3.0/channels.json?&limit=100&offset=300
100 records returned for Channels.
Fetching: http://atlas.metabroadcast.com/3.0/channels.json?&limit=100&offset=400
100 records returned for Channels.
Fetching: http://atlas.metabroadcast.com/3.0/channels.json?&limit=100&offset=500
100 records returned for Channels.
Fetching: http://atlas.metabroadcast.com/3.0/channels.json?&limit=100&offset=600
100 records returned for Channels.
Fetching: http://atlas.metabroadcast.com/3.0/channels.json?&limit=100&offset=700
100 records returned for Channels.
Fetching: http://atlas.metabroadcast.com/3.0/channels.json?&limit=100&offset=800
100 records returned for Channels.
Fetching: http://atlas.metabroadcast.com/3.0/channels.json?&limit=100&offset=900
100 records returned for Channels.
Fetching: http://atlas.metabroadcast.com/3.0/channels.json?&limit=100&offset=1000
100 records returned for Channels.
Fetching: http://atlas.metabroadcast.com/3.0/channels.json?&limit=100&offset=1100
52 records returned for Channels.
Fetching Channels complete.
I have a script that processes Atlas API into XMLTV (and other formats), that might be helpful? It's written in python.github.com/adamsutton/PyEPGI wrote this due to my frustrations with the performance of XMLTV script (which I think they have now fixed based on my feedback), but also the Atlas API does provide much greater flexibility. And I think represents a better solution going forward.Regards
Adam