All Projects → alohi → faxplus-php

alohi / faxplus-php

Licence: MIT license
PHP SDK to use FAX.PLUS API

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to faxplus-php

faxplus-python
Python SDK to use FAX.PLUS API
Stars: ✭ 54 (+134.78%)
Mutual labels:  fax, alohi, faxplus
php-antispam
A PHP API for antispam service cleantalk.org. Invisible protection from spam, no captches, no puzzles, no animals and no math.
Stars: ✭ 50 (+117.39%)
Mutual labels:  php-api
interfax-ruby
Fax send and receive in Ruby with the InterFAX REST API
Stars: ✭ 16 (-30.43%)
Mutual labels:  fax
Apiato
PHP Framework for building scalable API's on top of Laravel.
Stars: ✭ 2,564 (+11047.83%)
Mutual labels:  php-api
Php Crud Api
Single file PHP script that adds a REST API to a SQL database
Stars: ✭ 2,904 (+12526.09%)
Mutual labels:  php-api
modulpos-php-api-client
PHP client for Modul.Kassa API Fiscal Service
Stars: ✭ 15 (-34.78%)
Mutual labels:  php-api
n11-php-api
Bu api n11 için yazılmıştır. N11 için yazılmış olan gelişmiş bir php apisi. Ekstra olarak n11 üzerinde mağazanıza gelen siparişleri websitenize aktaracak bir fonksiyonda mevcuttur.
Stars: ✭ 57 (+147.83%)
Mutual labels:  php-api
simple-php-api
An extremely simple API (with authentication) example, written in PHP (server) and JS (client), using JSON
Stars: ✭ 23 (+0%)
Mutual labels:  php-api
mixerapi
A CakePHP Plugin for RESTful API Development [READ-ONLY]
Stars: ✭ 26 (+13.04%)
Mutual labels:  php-api
Waktu-Solat-API
PHP API for fetching prayer time from JAKIM e-Solat website
Stars: ✭ 27 (+17.39%)
Mutual labels:  php-api
NeteaseCloudMusicApi
网易云音乐API PHP
Stars: ✭ 30 (+30.43%)
Mutual labels:  php-api
makeapidoc
php自动生成api文档
Stars: ✭ 67 (+191.3%)
Mutual labels:  php-api
CoronaVirusOutbreakAPI
A tiny and small program to crawler and analyze outbreak of COVID-19 in world and every country using PHP.
Stars: ✭ 20 (-13.04%)
Mutual labels:  php-api
google-search-results-php
Google Search Results PHP API via Serp Api
Stars: ✭ 41 (+78.26%)
Mutual labels:  php-api

FAX.PLUS PHP SDK

This is the FAX.PLUS API v1 developed for third party developers and organizations. In order to have a better coding experience with this API, let's quickly go through some points:

  • This API assumes /accounts as an entry point with the base url of https://restapi.fax.plus/v1.
  • This API treats all date and times sent to it in requests as UTC. Also, all dates and times returned in responses are in UTC
  • Once you have an access_token, you can easily send a request to the resource server with the base url of https://restapi.fax.plus/v1 to access your permitted resources. As an example to get the user's profile info you would send a request to https://restapi.fax.plus/v1/accounts/self when Authorization header is set to "Bearer YOUR_ACCESS_TOKEN" and custom header of x-fax-clientid is set to YOUR_CLIENT_ID

Requirements

PHP 5.5 and later

Installation & Usage

Composer

You can simply run composer require faxplus/faxplus-api to add faxplus-api to your composer.json and install it (faxplus-api is published to packagist).

Alternatively, to install the bindings via Composer, add the following to composer.json or your local composer config:

{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/alohi/faxplus-php.git"
    }
  ],
  "require": {
    "faxplus/faxplus-api": "*@dev"
  }
}

Then run composer install

Getting Started

There's a sample application which is intended to get you started using this SDK. Follow sample app instructions to run your first app.

Documentation for API Endpoints

All URIs are relative to https://restapi.fax.plus/v1

Class Method HTTP request Description
AccountsApi getAccounts GET /accounts Get account information of all members of your corporate account
AccountsApi getMemberDetails GET /accounts/self/member-details/{member_id} Get member details
AccountsApi getUser GET /accounts/{user_id} Get account information for admin or member
AccountsApi updateMemberDetails PUT /accounts/self/member-details/{member_id} Modify member details
AccountsApi updateUser PUT /accounts/self Modify account information
ArchivesApi deleteFax DELETE /accounts/self/archives/{fax_id} Delete a fax
ArchivesApi getFax GET /accounts/self/archives/{fax_id} Get a fax record
ArchivesApi listFaxes GET /accounts/{user_id}/archives Get fax records
ArchivesApi updateFax PUT /accounts/self/archives/{fax_id} Modify fax record
FilesApi getFile GET /accounts/self/files/{fax_id} get a file
FilesApi uploadFile POST /accounts/self/files upload a file
NumbersApi getNumber GET /accounts/self/numbers/{number} Get number information
NumbersApi listNumbers GET /accounts/self/numbers Get your numbers
NumbersApi revokeNumber DELETE /accounts/self/numbers/{number} Revoke number
NumbersApi updateNumber PUT /accounts/self/numbers/{number} Assign number
OutboxApi deleteOutboxFax DELETE /accounts/self/outbox/{outbox_fax_id} Delete a fax from outbox
OutboxApi getOutboxFax GET /accounts/self/outbox/{outbox_fax_id} Get an outbox record
OutboxApi listOutboxFaxes GET /accounts/self/outbox Get outbox records
OutboxApi sendFax POST /accounts/self/outbox Send a fax
OutboxApi updateOutboxFax PUT /accounts/self/outbox/{outbox_fax_id} Modify a fax record in outbox

Documentation For Models

Documentation For Authorization

fax_oauth

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].