Changeset 122317 in spip-zone


Ignore:
Timestamp:
Feb 8, 2020, 6:53:44 PM (12 days ago)
Author:
Eric Lupinacci
Message:

On désactive définitivement le service APIXU.
On tune l'url du service Weatherstack qui remplace APIXU

Location:
_plugins_/rainette/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/rainette/trunk

    • Property subgit:lock:1079b4bf8a31a265e9868e482714fbc2774cb737 deleted
    • Property subgit:lock:38c195dd43592aedc545f120616cba40febed942 set to 2020-02-08T21:00:37.595
  • _plugins_/rainette/trunk/services/apixu.php

    r122312 r122317  
    2424        'alias'   => 'apixu',
    2525        'nom'     => 'APIXU',
    26         'actif'   => true,
     26        'actif'   => false,
    2727        'credits' => array(
    2828                'titre' => 'APIXU',
  • _plugins_/rainette/trunk/services/wstack.php

    r122316 r122317  
    334334
    335335        $url .= '?access_key=' . $configuration['inscription']
    336 //                      . '&language=' . $code_langue
     336                        . '&language=' . $code_langue
    337337                        . '&units=' . ($configuration['unite'] == 'm' ? 'm' : 'f')
    338338                        . '&query=' . $lieu_normalise;
    339339
    340340        if ($mode == 'previsions') {
    341                 $url .= '&days=' . $configuration['periodicites'][$periodicite]['max_jours'];
     341                $url .= '&forecast_days=' . $configuration['periodicites'][$periodicite]['max_jours'];
    342342        }
    343343
Note: See TracChangeset for help on using the changeset viewer.