A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/GAMS-dev/apigenerator below:

GAMS-dev/apigenerator: Python-based generator for GAMS API

Python-based generator for GAMS API.

The Python based API generator is based on an open source programming language (Python), a language template tool for Python (jinja2) and a human-readable structured file format (yaml) for describing API data definitions. The python script can generate, for a given API, API wrapper file(s) in targeted languges using the data definition from the API data definition file and the targeted language template file(s).

The generator consists of the script (mkapi.py) located under src/ and several templates of jinja2 language (*.templates.j2) located under templates/. Each template serves as a preset container to fill in data definition from a data definition and configuration file using the Python script. For each API, the data definitions and configurations are expected to be defined in a yaml file. The output configuration that can be generated for each API are:

Data Definition and Configuration File

An API definition and configuration file describes a data definition of API and serves as an input for the script to fill in a template in order to create API code file(s). The definition and configuration file is a yaml file containing:

Requires Python 3 (Tested with Python 3.11.3) with the following modules:

MIT


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4