Skip to main content

API interface for Prevedere Inc. in Python 3.6+

Project description


prevedere-api is a simple API for making HTTP requests to the Prevedere application. Requires an API key. For full documentation, go to the Prevedere Swagger API GUI.


pip install prevedere-api



There is a file called prevedere_api.ini.example that can be used to store your API key. To use it, make a copy of the file, remove .example from the filename, and replace the API key in the file with your own. If you cannot find the file, initializing prevedere.Api() will produce the expected location of the .ini file. Once completed, you will no longer have to enter in your API key when creating a connection to the Prevedere API.

from prevedere import Api
p = Api()


  • indicator: returns basic information about an indicator.
  • indicator_series: returns the data for an indicator.
  • correlation: calculates Pearson's r and other statistics at different offsets between an endogenous and exogenous indicator.
  • raw_model: returns all information about a forecast model.
  • forecast: returns historical fit and forecasted values of a forecast model.
  • workbench: returns the indicators used in a workbench.


import prevedere

api_key = "xyz123"
provider = "provider_a"
provider_id = "a123"

p = prevedere.Api(api_key)
p.indicator_series(provider, provider_id)


  • Example dataset to play with, especially for uploading data
  • Add documentation for each function

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for prevedere-api, version 0.5.2
Filename, size File type Python version Upload date Hashes
Filename, size prevedere_api-0.5.2-py3-none-any.whl (11.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size prevedere-api-0.5.2.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page