Пример #1
0
from atlas.api import API
import pprint

"""API examples"""

atlas_client = API()

"""
Inadvertently discovered that there are a TON of results when the publisher is set to  the BBC 

Needless to say, remember to set a limit when uncertain how many results to expect.
"""
items = atlas_client.schedule(ffrom="now", to="now.plus.24h", channel_id="cbbh", publisher='bbc.co.uk')

pprint.pprint(items)
Пример #2
0
from atlas.api import API
import pprint

'''API examples'''

atlas_client = API()

'''Fetch the CBBC schedule for the next 24 hours'''

items = atlas_client.schedule(from_='now', to='now.plus.24h', channel_id='cbbh', publisher='bbc.co.uk')

pprint.pprint(items)
Пример #3
0
from atlas.api import API
import pprint

"""API examples"""

atlas_client = API()

"""
Inadvertently discovered that there are a TON of results when the publisher is set to  the BBC 

Needless to say, remember to set a limit when uncertain how many results to expect.
"""
items = atlas_client.playlists(publisher="bbc.co.uk", limit="2")

pprint.pprint(items)