A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_URI::$config is deprecated

Filename: core/URI.php

Line Number: 101

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Router::$uri is deprecated

Filename: core/Router.php

Line Number: 127

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$benchmark is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$hooks is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$config is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$log is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$utf8 is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$uri is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$exceptions is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$router is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$output is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$security is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$input is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$lang is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$load is deprecated

Filename: core/Controller.php

Line Number: 78

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$db is deprecated

Filename: core/Loader.php

Line Number: 396

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_DB_pdo_driver::$compress is deprecated

Filename: database/DB_driver.php

Line Number: 371

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_DB_pdo_driver::$stricton is deprecated

Filename: database/DB_driver.php

Line Number: 371

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_DB_pdo_driver::$failover is deprecated

Filename: database/DB_driver.php

Line Number: 371

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_DB_pdo_mysql_driver::$failover is deprecated

Filename: database/DB_driver.php

Line Number: 371

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$email is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 132

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 292

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 166

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 235

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 315

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 356

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 282

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 289

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 304

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 314

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 315

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 316

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 317

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 375

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 110

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Session cannot be started after headers have already been sent

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$session is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once


Warning: "boolean" will be interpreted as a class name. Did you mean "bool"? Write "\boolean" to suppress this warning in /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/libraries/App.php on line 131

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Welcome::$app is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 9
Function: __construct

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$benchmark is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$hooks is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$config is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$log is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$utf8 is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$uri is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$exceptions is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$router is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$output is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$security is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$input is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$lang is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$load is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$db is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$email is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$session is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$app is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/apprQZ2LZ/controllers/Welcome.php
Line: 27
Function: view

File: /home/pedrorui/code.pedroruizhidalgo.es/api/v5/index.php
Line: 315
Function: require_once

Api v5 Documentation

API Doc

Welcome to Api/v5/

Summary

Understanding Url's

Render Mode

Activate

Check IBAN

Currencies

ISO 4217

Exchange

Geolocation

Spanish NIF

Spanish CIF

To reset your APIKEY

Users

Access counter for free users

Script pdf server

Credit card validation

Barcodes

Qrcodes

Understanding the URL's

Any service call has https://code.pedroruizhidalgo.es/api/v5 as API root. Let's call it in this manual [apiroot]

For every service call you need to provide your own [apikey]. This can be obtained in https://pedroruizhidalgo.es/createapiaccount.

The [apikey] consists in a string of 32 character length.

The general url format is [apiroot]/[service]/[renderway]/[apikey].

For example: To get your user data visit [apiroot]/user/json/[apikey]

go to summary
Render mode

There are three ways to render the results:

  • json
  • xml
  • html

Ex: If you want to get your geolocation data in json format, call it like. [apiroot]/users/json/[apikey].

go to summary
Activate

A successfull process will display this screen:

After create your account you will receive an email like :

Of course, activation service has the three render ways. Nevertheless, if you follow the email's link, shall render in html, unless you type manually the url. Like this:

[apiroot]/activation/[rendermode]/[apikey]

go to summary
Check Iban

Access mode [apiroot]/checkiban/[rendermode]/[iban]/[apikey]

(This example was obtained when searching in google "example iban".)

{
    "account": "0532013000",
    "bank": "37040044",
    "bban": "370400440532013000",
    "branch": "",
    "checksum": "89",
    "country": "DE",
    "country_central": "Deutsche Bundesbank",
    "country_central_url": "http://www.bundesbank.de/",
    "human_format": "DE89 3704 0044 0532 0130 00",
    "nationalchecksum": ""
}
      

As you can see, we provide the iban decomposed format, human readable format, the sum of control and the national bank of this country, among others.

If iban is not valid we provide:

{
    "iban": "DE89370400440532013014",
    "validate": "false"
}      
      
go to summary
Currencies exchanges

Access mode: [apiroot]/currencies/[rendermode]/[apikey]

Bellow are shown not real exchanges. We present random data.

{
  "datetime": "2024-10-04 12:58:49",
  "currency": "EUR",
  "AED": 8.3104968137622,
  "AFN": 7.8247828752849,
  "ALL": 3.5593889302385,
  "AMD": 10.591689148728,
  "ANG": 6.9437766368239,
  "AOA": 6.5163113882375,
  "ARS": 4.4405621054771,
  "AUD": 5.5742031822792,
  "AWG": 6.0535511416632,
  "AZN": 8.8614148054558,
  "BAM": 9.6437022949772,
  "BBD": 3.7806259080677,
  "BDT": 9.3732916854198,
  "BGN": 10.705287330647,
  "BHD": 12.501582707512,
  "BIF": 7.2665613434587,
  "BMD": 6.8542665503241,
  "BND": 7.6856541888256,
  "BOB": 10.342910837076,
  "BRL": 4.9704350172404,
  "BSD": 9.5899955847254,
  "BTC": 9.003431034276,
  "BTN": 9.7258277347897,
  "BWP": 5.2334251358329,
  "BYN": 5.9981906437307,
  "BYR": 9.5451388687571,
  "BZD": 7.6067450519683,
  "CAD": 6.4494408310621,
  "CDF": 6.6764884095995,
  "CHF": 7.0490308408854,
  "CLF": 3.5552288361617,
  "CLP": 6.5091263374822,
  "CNY": 9.2702605315811,
  "COP": 6.1315162531713,
  "CRC": 7.7207592221539,
  "CUC": 5.0538716996339,
  "CUP": 6.6434520285779,
  "CVE": 11.89939432214,
  "CZK": 6.2632684010376,
  "DJF": 3.600265086908,
  "DKK": 6.8447173129975,
  "DOP": 4.8179934037933,
  "DZD": 5.3351253742981,
  "EGP": 9.0137331835058,
  "ERN": 3.3046529909152,
  "ETB": 10.873688366205,
  "EUR": 1,
  "FJD": 8.4051146364795,
  "FKP": 4.1148239239654,
  "GBP": 9.3942305373001,
  "GEL": 5.6755265578048,
  "GGP": 11.22514288883,
  "GHS": 5.325799590594,
  "GIP": 9.9016672838021,
  "GMD": 3.6079081155397,
  "GNF": 8.8579931724155,
  "GTQ": 3.0224017831601,
  "GYD": 9.679885235466,
  "HKD": 8.4158491158932,
  "HNL": 9.0418740706713,
  "HRK": 9.3262897642917,
  "HTG": 4.7483592749333,
  "HUF": 8.7637810249644,
  "IDR": 9.0031757173143,
  "ILS": 3.5006378095134,
  "IMP": 4.5067775945676,
  "INR": 4.4249935673666,
  "IQD": 6.6775161440845,
  "IRR": 4.8216439121504,
  "ISK": 6.8701298343344,
  "JEP": 9.0484874802867,
  "JMD": 10.922916207892,
  "JOD": 3.1514111995471,
  "JPY": 5.7258299396959,
  "KES": 5.7635339134203,
  "KGS": 4.4679655686337,
  "KHR": 10.63934029622,
  "KMF": 4.8203360595835,
  "KPW": 5.5125319745916,
  "KRW": 7.1951276851795,
  "KWD": 4.1000822466333,
  "KYD": 4.719655505251,
  "KZT": 5.6968102761064,
  "LAK": 7.1956782532836,
  "LBP": 7.0327709135752,
  "LKR": 7.6927838705912,
  "LRD": 10.853773604545,
  "LSL": 5.3472507113345,
  "LTL": 4.1770537482468,
  "LVL": 7.5964655911533,
  "LYD": 9.3177889014211,
  "MAD": 6.6854007941137,
  "MDL": 8.6414220927476,
  "MGA": 10.966187783967,
  "MKD": 8.5451265161601,
  "MMK": 8.7799001609813,
  "MNT": 9.2222526619314,
  "MOP": 3.1536257332906,
  "MRO": 6.1267654658886,
  "MUR": 7.4153029990454,
  "MVR": 7.9406007555968,
  "MWK": 7.548931018705,
  "MXN": 10.247948399395,
  "MYR": 9.4819280744912,
  "MZN": 7.9838177901617,
  "NAD": 5.644853730055,
  "NGN": 8.0517056463527,
  "NIO": 5.777852392652,
  "NOK": 6.8414346588968,
  "NPR": 9.867646175375,
  "NZD": 7.4069692312772,
  "OMR": 8.252919108259,
  "PAB": 7.3621274160045,
  "PEN": 3.967425291877,
  "PGK": 7.3887357462145,
  "PHP": 6.4892203325821,
  "PKR": 7.1923579961026,
  "PLN": 7.0354199055747,
  "PYG": 8.1811618256295,
  "QAR": 5.9747811220469,
  "RON": 5.2967633289736,
  "RSD": 6.8999982918147,
  "RUB": 3.1098033530218,
  "RWF": 7.2779895268744,
  "SAR": 7.4644876376095,
  "SBD": 7.2708572332146,
  "SCR": 5.894850218154,
  "SDG": 6.6751799744904,
  "SEK": 10.093129054221,
  "SGD": 5.5163807633875,
  "SHP": 13.558348574004,
  "SLL": 10.766493381824,
  "SOS": 7.7791467480264,
  "SRD": 6.6132789461935,
  "STD": 8.5442352167071,
  "SVC": 3.4726260087791,
  "SYP": 9.5729950813451,
  "SZL": 6.1852028426645,
  "THB": 7.1757159196659,
  "TJS": 6.5813858390699,
  "TMT": 9.2587496583624,
  "TND": 8.4763939462027,
  "TOP": 3.9438080601133,
  "TRY": 12.774214732356,
  "TTD": 3.9803502256891,
  "TWD": 7.0963644725719,
  "TZS": 8.3875321174914,
  "UAH": 5.5492128443668,
  "UGX": 9.8581298304992,
  "USD": 7.79366148533,
  "UYU": 9.7823456888005,
  "UZS": 9.6617624772069,
  "VEF": 9.7463826801378,
  "VND": 4.9211647188855,
  "VUV": 4.623372897796,
  "WST": 9.3686175315495,
  "XAF": 6.4049364199885,
  "XAG": 7.1625094353978,
  "XAU": 6.3029941773522,
  "XCD": 9.8514255112277,
  "XDR": 9.1240890394543,
  "XOF": 4.7329302149512,
  "XPF": 5.5668983043017,
  "YER": 8.5708345698988,
  "ZAR": 5.4063630017482,
  "ZMK": 10.567376917958,
  "ZMW": 6.7022592219069,
  "ZWL": 9.9193798582625
}
go to summary
ISO 4217 Currency Codes

The ISO 4217 code list is used in banking and business globally.

Access mode: [apiroot]/currencies/[coin_names]/[render]/[apikey]
{
    "AED": "United Arab Emirates Dirham",
    "AFN": "Afghanistan Afghani",
    "ALL": "Albania Lek",
    "AMD": "Armenia Dram",
    "ANG": "Netherlands Antilles Guilder",
    "AOA": "Angola Kwanza",
    "ARS": "Argentina Peso",
    "AUD": "Australia Dollar",
    "AWG": "Aruba Guilder",
    "AZN": "Azerbaijan Manat",
    "BAM": "Bosnia and Herzegovina Convertible Marka",
    "BBD": "Barbados Dollar",
    "BDT": "Bangladesh Taka",
    "BGN": "Bulgaria Lev",
    "BHD": "Bahrain Dinar",
    "BIF": "Burundi Franc",
    "BMD": "Bermuda Dollar",
...
    "VEF": "Venezuela Bolívar",
    "VND": "Viet Nam Dong",
    "VUV": "Vanuatu Vatu",
    "WST": "Samoa Tala",
    "XAF": "Communauté Financière Africaine (BEAC) CFA Franc BEAC",
    "XCD": "East Caribbean Dollar",
    "XDR": "International Monetary Fund (IMF) Special Drawing Rights",
    "XOF": "Communauté Financière Africaine (BCEAO) Franc",
    "XPF": "Comptoirs Français du Pacifique (CFP) Franc",
    "YER": "Yemen Rial",
    "ZAR": "South Africa Rand",
    "ZMW": "Zambia Kwacha",
    "ZWD": "Zimbabwe Dollar"
}          
      
go to summary
Exchange service

Alias of currency service

go to summary
Geolocation

Access mode: [apiroot]/geolocation/[rendermode]/[apikey]/[optional IP address]

Call geolocation service whith out the optional IP address for get your own IP. In other words, if you do not provide an IP address, the service will proccess your current IP address.

{
    "area_code": "",
    "city": "",
    "continent": "North America",
    "continent_code": "NA",
    "country_code": "US",
    "country_name": "United States",
    "currency": "USD",
    "currency_simbol": "$",
    "currency_utf8": "$",
    "current_time": "2018-10-25 21:22:50",
    "in_eu": "no",
    "IP": "70.110.40.10",
    "latitude": "37.751",
    "longitude": "-97.822",
    "region": "",
    "region_code": "",
    "region_name": "",
    "tax_percent": false,
    "time_zone": "",
    "usdollar_to_usd": "1"
}    
  

An egyptian example.

{
    "area_code": "",
    "city": "Cairo",
    "continent": "Africa",
    "continent_code": "AF",
    "country_code": "EG",
    "country_name": "Egypt",
    "currency": "EGP",
    "currency_simbol": "£",
    "currency_utf8": "£",
    "current_time": "2018-10-25 21:24:34",
    "in_eu": "no",
    "IP": "45.100.28.10",
    "latitude": "30.0771",
    "longitude": "31.2859",
    "region": "Cairo Governorate",
    "region_code": "C",
    "region_name": "Cairo Governorate",
    "tax_percent": false,
    "time_zone": "Africa/Cairo",
    "usdollar_to_egp": "17.953"
}      
  

Another european example:

{
    "area_code": "",
    "city": "",
    "continent": "Europe",
    "continent_code": "EU",
    "country_code": "IT",
    "country_name": "Italy",
    "currency": "EUR",
    "currency_simbol": "€",
    "currency_utf8": "€",
    "current_time": "2018-10-25 21:26:12",
    "in_eu": "yes",
    "IP": "94.80.188.102",
    "latitude": "43.1479",
    "longitude": "12.1097",
    "region": "",
    "region_code": "",
    "region_name": "",
    "tax_percent": 22,
    "time_zone": "Europe/Rome",
    "usdollar_to_eur": "0.8765"
}
  

As you can observe, we convert the currency from us dollar to local.

go to summary
Spanish NIF / NIE

There are two identification documents for people in Spain. NIF (means Fiscal Identification Number), and NIE (means Foreign Identification Number).

The NIF, has eight numbers and a leter as checksum. And NIE consists in first letter (X,Y or Z), seven digits an identical letter as checksum.

This software is provided as is. We have no responsibility for the use for the end user.

Access mode: [apiroot]/spanishdni/[rendermode]/[NIF or NIE]/[apikey]

Ex: https://code.pedroruizhidalgo.es/api/v5/spanishcif/json/12378978V/[apikey]

{
    "literal": "Z",
    "numeral": "12345678",
    "raw_literal": "V",
    "validate": "false"
}
    

But I can amend it like;

https://code.pedroruizhidalgo.es/api/v5/spanishcif/json/12345678Z/[apikey], to get:

{
    "literal": "Z",
    "numeral": "12345678",
    "raw_literal": "Z",
    "validate": "true"
}
    

Let's try now with a NIE.

{
    "literal": "L",
    "numeral": "1234567",
    "raw_literal": "P",
    "validate": "false"
}
    

And now with the correct letter...

{
    "literal": "L",
    "numeral": "1234567",
    "raw_literal": "L",
    "validate": "true"
}
    

I'm sure you understand the advantages...

go to summary
Spanish CIF

Each company in Spain has a code associated with tax purposes. This code is called CIF.

The CIF code determines the type of company and the province to which it belongs. We decompose the code and present the extracted data.

Access mode: [apiroot]/spanishcif/A12345678/json/[apikey] will show...

{
  "abbreviation": "SA, SAL, SAU, SAE",
  "check_sum": 0,
  "checksum_type": "Number",
  "province": "Castellón",
  "province_code": "12",
  "raw_number": "34567",
  "raw_type": "A",
  "type": "Sociedad Anónima",
  "validate": "false"
}
   

If we correct the checsum... [apiroot]/spanishcif/A12345670/json/[apikey]

{
  "abbreviation": "SA, SAL, SAU, SAE",
  "check_sum": 0,
  "checksum_type": "Number",
  "province": "Castellón",
  "province_code": "12",
  "raw_number": "34567",
  "raw_type": "A",
  "type": "Sociedad Anónima",
  "validate": "true"
}
  

You dig it?...

go to summary
Reset APIKEY

Navigate to https://pedroruizhidalgo.es/resetapikey and follow instructions.

Enter your registered email if you are non free user, and follow instructions... Finallly, we will email you a new APIKEY.

go to summary
Users

Access way: [apiroot]/users/[rendermode]/[apikey]

Enter your registered email, and go on... We will email you a new APIKEY.

{
    "activation_code": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "active": "1",
    "can_activate": "1",
    "company": "",
    "date_creation": "2018-10-22 18:08:44",
    "date_modification": "2018-10-26 09:35:30",
    "email": "your@email.com",
    "first_name": "Free",
    "forgotten_password_code": "",
    "forgotten_password_time": "0",
    "lang": "en",
    "last_login": "2018-10-26 11:35:30",
    "last_name": "User",
    "phone": "",
    "remember_code": "",
    "username": "freeuser"
}
go to summary
Access counter for free users

Access mode: [apiroot]/getconnectioncounter/[rendermode]/[apikey]

It does not make sense for users who are not free.

{
    "count": 9,
    "user": "freeuser"
}
   

If you are not a free user will obtain that:

{
  "count": "Your plan is not countable",
  "user": "nonfreeuser"
}
   
go to summary
Pdf file server

Access mode: [apiroot]/servepdf/[rendermode]/[apikey]

The post format content is divided in sections. Each section name must be enclosed in square brackets. These are:

  • [header]
  • [armor]
  • [loop]
  • [afterloop]
  • [footer]
  • [pagename]
  • [filename]
  • [utf8]

We use the FPDF syntax. Every single line content is separated by comma, and its structure is very simple. The first item must be the PFDF, function name (see manual) and it follows, allways separated by comma, the rest of params. Send the script using http POST as raw text.

[armor] is a end part of [head].

[afterloop] is executed immediately after [loop] section.

[filename] only needs one only row, where you describe the final name of your document.

If you declare [utf8] (as void section) your final document will be utf8 encoded.

[header]
image,assets/img/logo.png,65,13,15,15
SetFont,Arial,B,13
cell,30
cell,120,10,API SERVICES V5,0,0,C
ln,5
setfont,arial,,8
cell,30
cell,120,8,@pedroruizhidalg,0,1,C
cell,30
SetFont,times,i,10
settextcolor,180,180,180
cell,120,3,"Coding the world since 1983!",0,1,C
ln,10
SetFont,Arial,B,8
settextcolor,0,0,0

[armor]
cell,10,4.5,Num,1,0,C
cell,50,4.5,Name,1,0,C
cell,50,4.5,Address,1,0,C
cell,20,4.5,Phone,1,0,C
cell,50,4.5,Email,1,1,C
SetFont,Arial,,8

[loop]
1,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
2,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
3,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
4,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
5,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
6,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
7,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
8,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
9,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
10,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com

...

95,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
96,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
97,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
98,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
99,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com
100,Lorem ipsum dolor sit amet,Praesent varius tellus id urna ida,Integer ut,quam@pellentesque.com

[afterloop]
ln,10
setx,30
cell,30,4.5,This text goes after loop.,0,1,L
setx,30
cell,30,4.5,Try it and enjoy!,0,1,L
[footer]
sety,-15
setfont,arial,i,8


[footer]
sety,-15
setfont,arial,i,8

[pagename]
Spanish accent Página

[filename]
prueba.pdf

[response]
download




   

See the sample generated by code above.

go to summary
Credit card validation

Access mode: [apiroot]/creditcardvalidate/[rendermode]/[card name]/[card number]/[apikey]

Card name can be one of this values:

  • [visaelectron], as Visa Electron.
  • [forbrugsforeningen] as Forbrugsforeningen.
  • [dankort] as Dankort.
  • [visa] as Visa.
  • [mastercard] as Master Card.
  • [amex] as American Express.
  • [dinersclub] as Diner's Club.
  • [Discover] as Discover.
  • [unionpay] as Union Pay.
  • [jcb] as JCB.

By example: https://code.pedroruizhidalgo.es/api/v5/creditcardvalidate/json/amex/378282246310005/[apikey]

Responses as:

{
    "cardnum": "378282246310005",
    "cardtype": "amex",
    "human_format": "3782 8224 6310 005",
    "message": "your 'amex' credit card is valid",
    "validation": "true"
}
or
{
    "cardnum": "23423423",
    "cardtype": "amex",
    "human_format": "null",
    "message": "sorry, your 'amex' credit card is not valid",
    "validation": "false"
}
go to summary
Barcodes

Access mode: [apiroot]/barcodes/

All input data must be provided in json format as HTTP POST request method as is below shown:

{
	"data_to_code" : "data to encode",
	"apikey" : "youruserapikey",
	"type_result" : "type_result",
	"codification" : "BAR_CODE_TYPE"
}

Type Results:

  • jpg
  • png
  • svg
  • html

BAR_CODE_TYPE, one of:

  • TYPE_CODE_39
  • TYPE_CODE_39_CHECKSUM
  • TYPE_CODE_39E
  • TYPE_CODE_39E_CHECKSUM
  • TYPE_CODE_93
  • TYPE_STANDARD_2_5
  • TYPE_STANDARD_2_5_CHECKSUM
  • TYPE_INTERLEAVED_2_5
  • TYPE_INTERLEAVED_2_5_CHECKSUM
  • TYPE_CODE_128
  • TYPE_CODE_128_A
  • TYPE_CODE_128_B
  • TYPE_CODE_128_C
  • TYPE_EAN_2
  • TYPE_EAN_5
  • TYPE_EAN_8
  • TYPE_EAN_13
  • TYPE_UPC_A
  • TYPE_UPC_E
  • TYPE_MSI
  • TYPE_MSI_CHECKSUM
  • TYPE_POSTNET
  • TYPE_PLANET
  • TYPE_RMS4CC
  • TYPE_KIX
  • TYPE_IMB
  • TYPE_CODABAR
  • TYPE_CODE_11
  • TYPE_PHARMA_CODE
  • TYPE_PHARMA_CODE_TWO_TRACKS

Keep in mind not all type of barcode, by its own definition, can produce alphanumerical data.

Type Alphanumerical
TYPE_CODE_39 yes
TYPE_CODE_39_CHECKSUM yes
TYPE_CODE_39E yes
TYPE_CODE_39E_CHECKSUM yes
TYPE_CODE_93 yes
TYPE_STANDARD_2_5 no
TYPE_STANDARD_2_5_CHECKSUM no
TYPE_INTERLEAVED_2_5 no
TYPE_INTERLEAVED_2_5_CHECKSUM no
TYPE_CODE_128 no
TYPE_CODE_128_A no
TYPE_CODE_128_B no
TYPE_CODE_128_C no
TYPE_EAN_2 no
TYPE_EAN_5 no
TYPE_EAN_8 no
TYPE_EAN_13 no
TYPE_UPC_A yes
TYPE_UPC_E yes
TYPE_MSI no
TYPE_MSI_CHECKSUM no
TYPE_POSTNET no
TYPE_PLANET no
TYPE_RMS4CC no
TYPE_KIX no
TYPE_IMB no
TYPE_CODABAR no
TYPE_CODE_11 no
TYPE_PHARMA_CODE no
TYPE_PHARMA_CODE_TWO_TRACKS no

An example as response of:

{
	"data_to_code" : "test code bar",
	"apikey" : "verysecretapikey",
	"type_result" : "html",
	"codification" : "TYPE_CODE_39"
}

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

go to summary
Qrcodes

Access mode: [apiroot]/qrcodes/

All input data must be provided in json format as HTTP POST request method as is below shown:

{
	"data" : "this is the data to codify",
	"apikey" : "yourverysecretapikey",
	"level" : "M",
	"size" : 3,
	"black" : "255,255,255",
	"quality" : true,
	"white" : "0,0,255"
}

Free users can send data and apikey.

To convert the API request to an image, you can do something like that: (For convenience, we expose the code in PHP, but you can do it with you preferred language)

$post = json_encode( array(
          "data" => "your text to code",
          "apikey" => "yourapikey",
          "level" => "M",
          "size" => 4,
          "black" => "255,255,255",
          "quality" => true,
          "white" => "30,30,255"
        )
      );
      $ch = curl_init('https://code.pedroruizhidalgo.es/api/v5/qrcodes');
      curl_setopt( $ch , CURLOPT_CUSTOMREQUEST , "POST");    
      curl_setopt( $ch , CURLOPT_POSTFIELDS , $post );
      curl_setopt( $ch , CURLOPT_RETURNTRANSFER , true );
      curl_setopt( $ch , CURLOPT_HTTPHEADER , array (                                                                          
        'Content-Type: application/json',                                                                                
        'Content-Length: ' . strlen($post))                                                                       
      );
      $result = curl_exec(  $ch );
and finally...
      echo <img src="data:image/png;base64,' . base64_encode ( $result ) . '">';
This image is generated on the fly whith the current date: 2024-10-04 12:58:49, check it!

go to summary

As the limit of a function that never reaches the value, this manual, this API and their services, are under continue construction.


A PHP Error was encountered

Severity: Compile Warning

Message: "boolean" will be interpreted as a class name. Did you mean "bool"? Write "\boolean" to suppress this warning

Filename: libraries/App.php

Line Number: 131

Backtrace: