Install a country web API

These instructions are for installing an OpenFisca country package in a local environment. The OpenFisca-Country-Template package is used as an example here and should be substituted for the specific country package relevant to the use case.

Run and call a local web API

OpenFisca runs with Python. If it’s not installed in the environment, check the Installation requirements section.

To run a local OpenFisca-Country-Template web API:

  1. Install the OpenFisca-Country-Template in the local environment as described by it’s README Install Instructions for Users and Contributors section,

  2. Serve the web API on your environment by running the one command described here.