I want to explain something I found when tried to use this class.
When you set a new city like Paris, Berlin there are several results but the class can't handle it. Som, in the example.php put this on line 12 after $theCity ='Paris';
$TheCity .= ',France'; // set a country to avoid ERRORS when multiple cities with same name are found.
or for Berlin where setting a country would not be enough, see this:
$TheCity .= '%20Schoenefeld,Germany'; // set a watched place, country to avoid ERRORS when multiple cities with same name are found.
Now I am working to make the class give an adequate answer when the case is like Berlin but so far not ready to upload.