Skip to content

amalinvest/watermelon-api

Repository files navigation

Watermelon API

A Flask API that retrieves and decodes data from the Watermelon Index service.

Setup

  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows use: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the application:
python app.py

Usage

The API exposes a single endpoint:

  • GET /api/data: Retrieves the decoded data from the Watermelon Index service

Example request:

curl http://localhost:5000/api/

The response will be the decoded JSON data from the service.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published