Git Product home page Git Product logo

festivo-php-wrapper's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

festivo-php-wrapper's Issues

Source

Hello Szymon, just wondering if you are going to share the source code.
Thank you!

A holiday in DK is wrong

                    [2019-05-20] => Array
                        (
                            [0] => Array
                                (
                                    [name] => Kristi Himmelfartsdag
                                    [country] => DK
                                    [date] => 2019-05-20
                                    [public] => 1
                                )

                        )

This date should be 2019-05-30

SQL error for `api_usage` table.

Describe the bug
When you want to make a call with only mandatory fields like year and country, Slim throws an error

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'month' cannot be null (SQL: insert into `api_usage` (`id`, `endpoint`, `country`, `year`, `month`, `day`, `previous`, `upcoming`, `pretty`, `ip_address`, `status`, `timestamp`) values (, /v1/holidays, PL, 2019, , , 0, 0, 0, XXXX, 200, 2019-03-18 14:02:57))

It looks like your's api_isage table doesn't follow mandatory parameters: https://github.com/SzymonDukla/HolidayAPI-Wrapper#parameters

To Reproduce
Visit https://holidayapi.pl/v1/holidays?year=2019&country=PL and you will see an error.

Store/bank holidays

It would also be nice to see on which dates the stores are closed..

And the same with banks.. Stores and banks are not closed on the same dates

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.