Skip to content
Snippets Groups Projects
Commit 2ba68563 authored by Alex Arnaud's avatar Alex Arnaud
Browse files

hotline #18668 - Biographie: call svc with api params

parent 1b4ab68c
Branches
Tags
3 merge requests!896Master,!850Master,!833Hotline #18668 wkipedia api
......@@ -22,6 +22,8 @@
class Class_WebService_AllServices {
const RETOUR_SERVICE_OK = 2;
const SVC_API = '2.0';
private static $_http_client;
private $services = [
......@@ -151,6 +153,7 @@ class Class_WebService_AllServices {
$args = array();
$args['src'] = self::createSecurityKey();
$args['api'] = self::SVC_API;
$args['action'] = $service;
return json_decode(self::httpGet($url_service, $args),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment