All URIs are relative to https://looker.buffer.com:19999/api/3.0
Method | HTTP request | Description |
---|---|---|
all_stories | GET /stories | Get all stories |
story | GET /stories/{story_id} | Get a story |
story_assets | GET /stories/assets | Get assets used by stories |
list[StoryListItem] all_stories()
Get all stories
import time
import lookerpy
from lookerpy.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerpy.StoryApi()
try:
# Get all stories
api_response = api_instance.all_stories()
pprint(api_response)
except ApiException as e:
print "Exception when calling StoryApi->all_stories: %s\n" % e
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Story story(story_id)
Get a story
import time
import lookerpy
from lookerpy.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerpy.StoryApi()
story_id = 'story_id_example' # str | Id of story
try:
# Get a story
api_response = api_instance.story(story_id)
pprint(api_response)
except ApiException as e:
print "Exception when calling StoryApi->story: %s\n" % e
Name | Type | Description | Notes |
---|---|---|---|
story_id | str | Id of story |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StoryAssets story_assets()
Get assets used by stories
import time
import lookerpy
from lookerpy.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerpy.StoryApi()
try:
# Get assets used by stories
api_response = api_instance.story_assets()
pprint(api_response)
except ApiException as e:
print "Exception when calling StoryApi->story_assets: %s\n" % e
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]