Skip to content

A public GraphQL API for information about holidays, countries, and dates. This project uses data obtained from Web Scrapping to retrieve holidays around the world. Don't ever miss a holiday again or ask your employees to ever work on one. This API will retrieve the holidays based on the country name, country or date range

Notifications You must be signed in to change notification settings

LisaPisa12/Holiday-Sync-API

Repository files navigation

Holiday-Sync-API

Holidays GraphQL API

A public GraphQL API for information about holidays, countries, and dates. This project uses data obtained from Web Scrapping to retrieve holidays around the world. Don't ever miss a holiday again or ask your employees to ever work on one. This API will retrieve the holidays based on the country name, country or date range.

Writing queries

{
  country(name: "Spain") {
    HolidayName
    CountryName
    Date
  }
}

The above GraphQL query will produce the following JSON response:

{
  "data": {
    "country": [
      {
        "HolidayName": " Saint Vincent the Martyr ",
        "Date": "January 22nd 2020"
      },
      {
        "HolidayName": " Andalucía Day ",
        "Date": "February 28th 2020"
      },
      {
        "HolidayName": " Balearic Day ",
        "Date": "March 1st 2020"
      },
      {
        "HolidayName": " Feast of San Vincent Ferrer ",
        "Date": "April 20th 2020"
      }
    ]
  }
}

Docs

Check out [the playground](link to playground will go here) to explore the schema and test out some queries.

Contributing

To contribue please read the CONTRIBUTING.md

Developers

About

A public GraphQL API for information about holidays, countries, and dates. This project uses data obtained from Web Scrapping to retrieve holidays around the world. Don't ever miss a holiday again or ask your employees to ever work on one. This API will retrieve the holidays based on the country name, country or date range

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published