2017 © Pedro Peláez
 

library mobius-php

API client for Mobius

image

zulucrypto/mobius-php

API client for Mobius

  • Monday, January 15, 2018
  • by zulucrypto
  • Repository
  • 1 Watchers
  • 2 Stars
  • 31 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Mobius PHP API Client

Provides simple access to the Mobius API for applications written in PHP, (*1)

Installation

Install with composer:, (*2)

$ composer require zulucrypto/mobius-php

Quickstart

This library provides an object-oriented way to interact with the Mobius API:, (*3)

// Main object for working with the API
$mobius = new Mobius($API_KEY);

// Retrieves an object to work with the DApp store
$appStore = $mobius->getAppStore($APP_UID);

// Easily query a user's balance
$userBalance = $appStore->getBalance($EMAIL);

// Use 5 MOBI and get the user's updated balance
$userBalance = $appStore->useBalance($EMAIL, 5);

Objects

  • Mobius - All main API objects are available from this class
  • AppStore - Methods for working with a user's balance
  • Token - Methods for working with ERC20 tokens

More information

The Versions

15/01 2018

dev-master

9999999-dev

API client for Mobius

  Sources   Download

MIT

The Requires

 

by Zulu Crypto

16/10 2017

v1.0.0

1.0.0.0

API client for Mobius

  Sources   Download

MIT

The Requires

 

by Zulu Crypto