Poodle
A fast and beautiful command line tool to build API requests
๐ฆ Check out the full Demo!
Poodle is an interactive command line tool to build and test web APIs based on a pre-built definitions.
Poodle
has the following features:
- Register your web services and endpoints easily.
- Use variables in endpoints definitions.
- Painless debugging and interaction with APIs.
- Search web services and endpoints interactively.
- Edit services and endpoints easily (config is just a TOML file).
- Sync services via Gist automatically.
Documentation
Download the latest poodle binary. Also install fzf for better searching otherwise poodle will use a built-in one. Make it executable from everywhere.
$ curl -sL https://github.com/Clivern/Poodle/releases/download/x.x.x/poodle_x.x.x_OS.tar.gz | tar xz
To list all commands and options
$ poodle help
A fast and beautiful command line tool to build API requests
If you have any suggestions, bug reports, or annoyances please report
them to our issue tracker at <https://github.com/clivern/poodle/issues>
Usage:
poodle [command]
Available Commands:
call Interact with one of the configured services
configure Configure Poodle
delete Delete a service definition file
edit Edit service definition file
help Help about any command
license Print the license
new Creates a new service definition file
sync Sync services definitions
version Print the version number
Flags:
-c, --config string config file (default "/Users/Clivern/poodle/config.toml")
-h, --help help for poodle
-v, --verbose verbose output
Use "poodle [command] --help" for more information about a command.
To configure poodle, You will need to provide your github username and oauth token with a gist
scope if you need the backup/sync feature
$ poodle configure
To sync definitions with backend. for now only github gists supported
$ poodle sync
To create a new service.
$ poodle new
by default we use https://httpbin.org
as service API for testing so change with your web service API.
To edit a previously created service file:
$ poodle edit
To start calling your services endpoints:
$ poodle call
To start calling a custom service endpoints without storing it globally:
# Assuming that .poodle.toml exists on current dir
$ poodle call -f ./.poodle.toml
To delete a service definition file:
$ poodle delete
For more info how to create an API service definition, please check this file.
Upgrade Notes
To upgrade from version 1.x.x
to version 2.x.x
, It is recommended to delete the remote github gist and poodle will sync changes in a new proper way.
Versioning
For transparency into our release cycle and in striving to maintain backward compatibility, Poodle is maintained under the Semantic Versioning guidelines and release process is predictable and business-friendly.
See the Releases section of our GitHub project for changelogs for each release version of Poodle. It contains summaries of the most noteworthy changes made in each release.
Bug tracker
If you have any suggestions, bug reports, or annoyances please report them to our issue tracker at https://github.com/clivern/poodle/issues
Security Issues
If you discover a security vulnerability within Poodle, please send an email to [email protected]
Contributing
We are an open source, community-driven project so please feel free to join us. see the contributing guidelines for more details.
License
ยฉ 2020, Clivern. Released under MIT License.
Poodle is authored and maintained by @clivern.