Skip to content

Moody's Analytics Scenario Studio API sample code for R and Python

Notifications You must be signed in to change notification settings

moodysanalytics/scenario-studio-api-codesamples

Repository files navigation

Scenario Studio API v2 Code Samples

Introduction

Scenario Studio is a web application for time-series models. The programs in this section will allow automatic access to facilitate integration of workflow with Scenario Studio. The Scenario Studio API supports both oAuth and HMAC authentication, and returns JSON responses, and doesn't depend on OS or programming language. The code samples are written Python in R and serve as a starting point to retrieve project content.

See Scenario Studio API User Guide for more information on using the API.

Prerequisites

  • A subscription to Scenario Studio
  • Any operating system
  • An appropriate development environment for your OS, for python or R
  • Basic familiarity with the concepts of a web service API (our user guide PDF can get you started)

Contents of this repository

  • Documentation
    • User guide PDF: scenario-studio-api-userguide.pdf
  • Sample code
    • python
      • s2api.py: Class library
      • test_s2api.py: Sample program showing basic usage of the library
    • R
      • s2api.R: Class library
      • test_s2api.R: Sample program showing basic usage of the library
  • Postman
    • examples.postman_environment.json
    • Examples.postman_collection.json

Support

Please contact the Scenario Studio API team at Moody's Analytics by email at [email protected], with a subject line of "Scenario Studio API technical inquiry"

License

This project is licensed under (c) 2021 Moody's Analytics, Inc. All rights reserved.

About

Moody's Analytics Scenario Studio API sample code for R and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •