Groundhog Day

Groundhog Day API

This API returns all of North America’s prognosticating animals and their yearly weather predictions.

Other#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

This API returns all of North America’s prognosticating animals and their yearly weather predictions.

Endpoints 5

info

  • GETRoot/api/v1Returns a welcome message.
  • GETGet JSON schema/api/v1/specGets the schema for the JSON API as a yaml file.

groundhogs

  • GETGet all groundhogs/api/v1/groundhogs?country=Canada or USA&isGroundhog=1Returns all prognosticating animals with their known predictions.
  • GETGet a groundhog by slug/api/v1/groundhogs/:slugReturns a prognosticating animal and its known predictions.

predictions

  • GETGet predictions for a given year/api/v1/predictions?year=1886Get all predictions for a given year.

API details

Base URL
https://virtserver.swaggerhub.com/pcraig3/groundhog-day-api/1.2.1
https://groundhog-day.com
Authentication
None declared in the description
Operations
5 operations on 5 pathsGET 5
Main resources
groundhogs 2info 2predictions 1
Response formats
application/json
Description format
OpenAPI 3.0.0, API version 1.2.1
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Groundhog Day API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Groundhog Day API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Root” (GET /api/v1), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Groundhog Day API?

This API returns all of North America’s prognosticating animals and their yearly weather predictions. It is listed under Other and has 5 endpoints.

Who publishes the Groundhog Day API?

It is listed from Groundhog Day's public API description (an OpenAPI document), not published by Groundhog Day on Swastik Codes. Anyone who controls groundhog-day.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Groundhog Day API?

Its description lists 2 base URLs: https://virtserver.swaggerhub.com/pcraig3/groundhog-day-api/1.2.1, https://groundhog-day.com. The first is the usual one; the others are typically sandbox or regional servers.

How do I authenticate with the Groundhog Day API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the Groundhog Day API have?

5 operations on 5 paths (5 GET). The largest groups are groundhogs, info, predictions.

Is forking the Groundhog Day API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.