"import requests resp = requests.get('https://todolist.example.com/tasks/') if resp.status_code != 200: # This means something went wrong. raise ApiError('GET /tasks/ {}'.format(resp.status_code)) for todo_item in resp.json(): print('{} {}'.format(todo_item['id'], todo_item['summary'])) "
Also check a couple of blogs that reference a GitHub repository.
Template based provisioning with Cisco Prime Infrastructure – Part 1
Template based provisioning with Cisco Prime Infrastructure Part 2
Comments
0 comments
Please sign in to leave a comment.