Giter Club home page Giter Club logo

svatky-api-nodejs's Introduction

svatky-api-nodejs

Svátky API Vám řekne kdo má kdy svátek, nebo kdy má kdo svátek.

Svatky API - Find out which date in the year is your Name Day or who's Name Day is on a certain date.

This API only accept GET requests with three parameters: date, name, lang.

  • lang -- Formatted to accept either cs or sk

    • cs || sk
  • date -- Formatted date first followed by month. Ex: May 15 => 1505

    • DDMM
  • name -- Formatted for first names only. Ex: Michal, Anna, Karina

For example, if we wanted to search for when the Name Day is of Anna in JSON, we would set the parameters up like so: https://svatky.adresa.info/json?lang=cs&name=Anna

If we wanted to know who is celebrating their Name Day on May 15th, we would set the parameters like so: https://svatky.adresa.info/json?lang=cs&date=1505

Response:

Below is the response format of the JSON, XML, and txt. When a GET request is succesful, you will see the data presented like this.

json

[{"date": "2607",, "name": "Anna"}...]

xml

<?xml version="1.0" encoding="UTF-8"?>
<svatky>
    <svatek>
        <date>2607,</date>
        <name>Anna</name>
    </svatek>
    ...
</svatky>

txt

2607;Anna

svatky-api-nodejs's People

Contributors

adybas avatar bartholomej avatar segeda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

svatky-api-nodejs's Issues

Translate README into English

Hi, I would like to translate the README into English (and your parameters/documentation) so more people can get a chance to play around with the API. Let me know if you're interested!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.