Categories
Web development

Serviciile openapi.ro

Date actuale si corecte obtinute prin serviciile oferite in mod gratuit de openapi.ro. Un instrument foarte bun pentru implementarea unor verificari/validari in aplicatiile dezvoltate.

Informatii firme

$var = json_decode(file_get_contents('http://openapi.ro/api/companies/6553611.json'));
print_r($var);

Geolocare IP

$var = json_decode(file_get_contents('http://openapi.ro/api/geoip/country/8.8.8.8.json'));
print_r($var);

Validare CIF / CNP / IBAN / BIC

$var = json_decode(file_get_contents('http://openapi.ro/api/validate/iban/RO69TREZ04621220230XXXXX.json'));
print_r($var);

Curs valutar

$var = json_decode(file_get_contents('http://openapi.ro/api/exchange/eur.json'));
print_r($var);

Coduri postale

$var = json_decode(file_get_contents('http://openapi.ro/api/addresses.json?description=Mercy&county=Timis'));
print_r($var);

Pluralul sau singularul cuvintelor romanesti

$var = json_decode(file_get_contents('http://openapi.ro/api/inflections/interogare.json'));
print_r($var);

Datele pot fi returnate in urmatoarele formate: JSON, JSONP, XML

Detalii: http://openapi.ro/

Leave a Reply

Your email address will not be published. Required fields are marked *