rzr / markitondemand
Zend Framework 2 module for Markit on Demand API
dev-master
2016-08-17 00:26 UTC
Requires
- php: ^5.5
- zendframework/zend-http: ^2.5
This package is not auto-updated.
Last update: 2024-05-11 17:51:01 UTC
README
- This module provides OOP access to Markit On Demand's Market Data API in Zend Framework 2
Features
- Symbol lookup
- Symbol quote data
Installation
- Composer: composer require rzr/markitondemand
- Git: git clone https://github.com/rmayne/Markitondemand.git
Usage
- find the symbol for a company on various markets
- returns an array of objects
- $client = new MarkitondemandClient();
- $results = $client->lookupCompany('twit');
- get a quote for symbol
- returns a quote object
- $company = new Company();
- $quote = $company->getQuote('TWTR');
- update a quote object
- $quote = new Quote();
- $quote->updateQuote();
Resources
- API Docs: http://dev.markitondemand.com/MODApis
To Do List
- singleton behavior for zend client usage
- better performance