pyRevit repository contains a bin/pyrevit-hosts.json file that provides information about various host (Revit) releases. To keep this file updated, clone the pyRevit repository, make the necessary changes, and submit a pull-request.

Host Info Schema v1.0

{
    "meta": {
        "schema": "1.0",        // schema version
        "source": String        // source of this info
    },
    "product": String,          // product name
    "release": String,          // release name
    "version": String,          // version
    "build": String,            // build number
    "target": String,           // target platform
    "notes": String             // release notes page
}

Example

{
    "meta": {
        "schema": "1.0",
        "source": "<https://up.autodesk.com/2019/RVT/Autodesk_Revit_2019_2_2_Readme.html>"
    },
    "product": "Autodesk Revit",
    "release": "2020 First Customer Ship",
    "version": "20.0.0.377",
    "build": "20190327_2315",
    "target": "x64",
    "notes": "<https://up.autodesk.com/2019/RVT/Autodesk_Revit_2019_2_2_Readme.html>"
}