Town sign API

INTRO

API documentation of https://foutaise.org/townsign/

GET https://foutaise.org/townsign/api/help

Display this API documentation.

Response

text/html

POST https://foutaise.org/townsign/api/townsign

Generate a town sign.

Request data

town: string (required)

Name of the town.

road: uint

Departemental road number.

scale: float

Scale factor (value between 1 and 10).

Response

image/png

Example

    curl -X POST \
        https://foutaise.org/townsign/api/townsign \
        -d "town=besançon" \
        -d "road=25" > townsign.png