Remoteok.io API PHP Client
Install the package through Composer.
Run the Composer require command from the Terminal:
composer require alsoknownasdrew/remote-ok-php
require __DIR__ . '/vendor/autoload.php';
use Alsoknownasdrew\RemoteOK\ClientFactory;
$client = ClientFactory::create();
Retrieve available positions from Remoteok.io.
$positions = $client->positions();
You can get the following properties from a Position object: company name, company logo URL, company location, creation date, description, position ID, is position original (boolean), slug, tags, title, URL.
Get the name of the company.
$position->getCompany()->getName();
Get the full URL of the company's logo.
$position->getCompany()->getLogoUrl();
Get the location of the company.
$position->getCompany()->getLocation();
Get the creation date of the position position posting.
$position->getCreatedAt();
Get the description of the position posting.
$position->getDescription();
Get the internal ID of the position on Remoteok.io.
$position->getId();
Check whether the position posting is original, return as a boolean.
$position->isOriginal();
Get the slug of the position posting on Remoteok.io.
$position->getSlug();
Get the tags associated with the position posting.
$position->getTags();
Get the title of the position posting.
$position->getTitle();
Get the full URL of the position posting on Remoteok.io.
$position->getUrl();
Thanks goes to these wonderful people (emoji key):
Andriy 💻 🚧 |
Raphael 📖 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Contributions are welcome. Before proceeding, please read the Code of Conduct AND CONTRIBUTING guides, which contains information about contribution process.
This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code.