Command Line Wrapper for PonsAPI. This is a rewrite of a *Ponsapi-cli* that was written in Bash into PHP using Simfony Console Component. Refer to *Ponsapi-cli* for additional info.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lio Novelli e6fb1f7c87 Commit uncommited work. 3 years ago
config Fix Request and Config test. 3 years ago
src Commit uncommited work. 3 years ago
tests Commit uncommited work. 3 years ago
.gitignore Add first test. 3 years ago
LICENSE Add license and parse test template file. 3 years ago
README.org Dependency injection complete! 3 years ago
composer.json Add properties to composer.json 3 years ago
composer.lock Add properties to composer.json 3 years ago
dependencies.php Fix Request and Config test. 3 years ago
ponsapi.php Fix Request and Config test. 3 years ago
zapiski.org Add properties to composer.json 3 years ago

README.org

Ponsapi-php

Command Line Wrapper for Pons API. This is a rewrite of a Ponsapi-cli that was written in Bash into PHP using Simfony Console Component. Refer to Ponsapi-cli for additional info.

Usage

$ ./ponsapi.php translate [-flag] <word>

Get help by adding --help or shorthand -h flag.

-f option (fuzzy matching) helps if no results were found.

Specification

  1. Pretty prints pons api response to command line.
  2. Define default options in config file.
  3. Everything is supported with tests.
  4. Add caching with sqlite.
  5. Create a php archive out of the project.

Installation

... coming soon ... (wget .phar file from release)

To Do

  • Test Coverage
  • Write Classes
  • Add scripts and config keys to composer that would run autoconfigure on installation.
  • Create a .phar file