This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
micrypt
committed
Jul 12, 2010
1 parent
f6e3cee
commit bc9f3e9
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
*~ | ||
*.pyc | ||
*dist* | ||
*build* | ||
*egg* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
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) |