10BC0 GitHub - saulius334/Kilo-health-test
[go: up one dir, main page]

Skip to content

saulius334/Kilo-health-test

Repository files navigation

About

a simple CLI script which reads JSON based data from a specific endpoint via HTTP.

Quickstart

Type in terminal

composer install
composer dumpautoload

🎯 Features

- Terminal Commands:

php run.php count_by_price_range

  • accepts 2 variables(float) seperated by space, returns number of matches inbetween given variables
  • Example: php run.php count_by_price_range 10.00 500.00

php run.php count_by_vendor_id

  • accepts 1 variable(int), returns number of matches for given vendor_id
  • Example: php run.php count_by_vendor_id 35

For unit testing type in terminal:

./vendor/bin/phpunit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0