Download the PHP package toin0u/yo without Composer
On this page you can find all versions of the php package toin0u/yo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yo
Yo
Just Yo API wrapper for fun :)
Installation
This library can be found on Packagist. The recommended way to install this is through composer.
Run these commands to install composer, the library and its dependencies:
Or edit composer.json
and add:
Protip: you should browse the
toin0u/yo
page to choose a stable version to use, avoid the @stable
meta constraint.
API
This package uses the awesome Ivory Http Adapter which supports
plenty adapters. We will use the
CurlHttpAdapter
for our examples.
Following methods throw a \RuntimeException
if something goes wrong during the API calls.
You can find your API token in your Yo dashboard.
Following API examples will use the Yo
instance created previously:
/yo/
This method returns true
on success false
otherwise.
/yoall/
This method returns nothing. Please note The API allows only one Yo once per minute.
/accounts/
Please note that you can provide a callback url, an email, a description and a boolean to tell if the account requires location or not.
/check_username/
This method returns true
on success false
otherwise.
/subscribers_count/
Specification tests
Install PHPSpec globally with composer and run it in the project.
Contributing
Please see CONTRIBUTING for details.
Support
Please open an issues in github
Contributor Code of Conduct
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
This Code of Conduct is adapted from the Contributor Covenant, version 1.0.0, available at http://contributor-covenant.org/version/1/0/0/
License
This Yo package is released under the MIT License. See the bundled LICENSE file for details.