feat: pull country or language by code

* feat: pull country or language by code.

This differs from the existing `search` functionality in that it allows
you to explicitly pull back a single country or language instead of
anything that matches (which could result in more items returned than
expected).

* docs(readme): update to include examples for new functionality.
* test: expand tests to include new parameters.
* fix(client): dropped some commented out code that wasn't in use.
* docs(license): bump the year of the license.
This commit is contained in:
Josh Sherman 2020-02-11 18:00:37 -06:00
parent 0f45ca781a
commit 054eab9c02
5 changed files with 88 additions and 30 deletions

View file

@ -1,7 +1,7 @@
{
"name": "holidayapi/holidayapi-php",
"description": "Official PHP library for Holiday API",
"version": "2.1.0",
"version": "2.2.0",
"type": "library",
"keywords": [
"calendar",