2017 © Pedro Peláez
 

library yii2-cbr-webservices

Getting daily data on exchange rates, stock indexes e t.c. via CBR web services.

image

robote13/yii2-cbr-webservices

Getting daily data on exchange rates, stock indexes e t.c. via CBR web services.

  • Friday, December 11, 2015
  • by robotE13
  • Repository
  • 0 Watchers
  • 0 Stars
  • 39 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 18 % Grown

The README.md

Agent for the web services of the Central Bank of the Russian Federation

Getting daily data on exchange rates, stock indexes e t.c. via CBR web services, (*1)

http://www.cbr.ru/scripts/Root.asp?PrtId=DWS, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist robote13/yii2-cbr-webservices "*"

or add, (*5)

"robote13/yii2-cbr-webservices": "*"

to the require section of your composer.json file., (*6)

Usage

Once the extension is installed, simply use it in your code by :, (*7)

!php

$service = new \robote13\CBRwebservice\CBRServicesAPI(CBRService::SERVICE_DAYINFO); 
$xml = $service->getData('CursOnDate',['On_date'=>$date]));

Also, for access to the service method can be used implemented wrapper-methods :, (*8)

!php

$service = new \robote13\CBRwebservice\CBRServicesAPI(CBRService::SERVICE_DAYINFO); 
$xml = $service->exchangeRates();

The Versions

11/12 2015

dev-master

9999999-dev

Getting daily data on exchange rates, stock indexes e t.c. via CBR web services.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Evgenii Dudal

library currency exchange rates webservices cbr