Api.JimSegal.com

Available Endpoints

[GET] /games

A list of the tabletop games (board games and card games) I own.

Returns

[
    {
        "title": {String},
        "link": {String},
        "image": {String}
    },
    ...
]

[GET] /isAnchorageColderThan/:lat/:long

Compares temperatures of the given latitude and longitude to Anchorage, AK, USA

Returns

{
    "isAnchorageColder": {Boolean},
    "anchorageDetails": {
        "city": {String},
        "lat": {String},
        "long": {String},
        "state": {String},
        "temperature": {Float},
        "units": {String}
    },
    "compareDetails": {
        "city": {String},
        "lat": {String},
        "long": {String},
        "state": {String},
        "temperature": {Float},
        "units": {String}
    }
}

[GET] /recipes

A list of all the recipes I like to make.

Returns

[
    {
        "title": {String},
        "slug": {String},
        "referenceLink": {String},
        "ingredients": {String},
        "directions": {String},
        "notes": {String}
    },
    ...
]

[GET] /recipe/:slug

A single recipe

Returns

{
    "title": {String},
    "slug": {String},
    "referenceLink": {String},
    "ingredients": {String},
    "directions": {String},
    "notes": {String}
}

[GET] /shorts

Data to predict if Jim is wearing shorts or not

Returns

{
    "criteria": [
        {
            "label": {String},
            "value": {String},
        },
        ...
    ],
    "probability": {Integer},
}