Skip to content

Public API. The site's info, as JSON.

Profile, offers, case studies, articles, reviews and contact: everything vp-prog.ch publishes, read-only, for your tools, your integrations or your AI assistants.

v1Base URLhttps://vp-prog.ch/api/v1OpenAPI specification

Console

Pick an endpoint and send a real request.

GET /api/v1?lang=en
Example response · Lists are cut to their first item in these examples.
{
  "data": {
    "name": "VP Prog API",
    "version": "1",
    "description": "Custom applications for SMEs in French-speaking Switzerland.",
    "documentation": "https://vp-prog.ch/en/api",
    "openapi": "https://vp-prog.ch/api/v1/openapi.json",
    "endpoints": [
      {
        "method": "GET",
        "path": "/api/v1",
        "url": "https://vp-prog.ch/api/v1",
        "summary": "API index: name, version, endpoints and links to the documentation."
      }
    ]
  },
  "meta": {
    "lang": "en",
    "version": "1"
  }
}

Reference

  • GET /api/v1

    API index: name, version, endpoints and links to the documentation.

    lang
    Language of the texts: fr (default) or en. Otherwise the Accept-Language header is used.
  • GET /api/v1/profile

    Vincent Porret and VP Prog: role, background, location and public links.

    lang
    Language of the texts: fr (default) or en. Otherwise the Accept-Language header is used.
  • GET /api/v1/services

    The offers, with their starting price in CHF (to be confirmed for each project).

    lang
    Language of the texts: fr (default) or en. Otherwise the Accept-Language header is used.
  • GET /api/v1/projects

    Client case studies.

    lang
    Language of the texts: fr (default) or en. Otherwise the Accept-Language header is used.
  • GET /api/v1/projects/{slug}

    One client case study.

    lang
    Language of the texts: fr (default) or en. Otherwise the Accept-Language header is used.
    slug
    Slug of the case study, as listed by /projects. Example: villars-seminaires
  • GET /api/v1/posts

    Blog articles, newest first.

    lang
    Language of the texts: fr (default) or en. Otherwise the Accept-Language header is used.
  • GET /api/v1/posts/{slug}

    One blog article.

    lang
    Language of the texts: fr (default) or en. Otherwise the Accept-Language header is used.
    slug
    Slug of the article, as listed by /posts. Example: automatiser-nest-pas-simplifier
  • GET /api/v1/reviews

    Google reviews, quoted verbatim in their original language, and the total count.

    lang
    Language of the texts: fr (default) or en. Otherwise the Accept-Language header is used.
  • GET /api/v1/contact

    How to get in touch: contact page and booking link.

    lang
    Language of the texts: fr (default) or en. Otherwise the Accept-Language header is used.

Errors:400 invalid parameter · 404 not found · 405 method not allowed · 429 too many requests

Usage

  • Free, no key

    Read-only, GET only. Open to every site (CORS), no cookies and no personal data.

  • Rate limit

    A soft limit per IP address protects the service. Beyond it, the API answers 429 with a Retry-After header.

  • Stable

    Nothing breaking in v1: an incompatible change will ship as v2, under another URL.

  • Cache

    Responses are cached for an hour and carry an ETag: send it back with If-None-Match to get a 304.

Need an integration?

Connecting your tools to your data is what I do. Let's talk about your project.

Contact me