connecting wireless inventors shield to internet

Hi all

I’m having an issue with connecting the wireless inventors shield to my internet ive attached my code below (ive deleted the network name password and apikey for safety reasons so in my code it is actually there) can anyone help me resolve my issue into why i cannot connect it to the internet

Thanks
Rhys

#include <ArduinoJson.h>
#include <SPI.h>
#include <WiFi101.h>
char ssid = “-----”; // your network SSID (name)
char pass = “------”;// your network PASSWORD ()
//open weather map api key
String apiKey= “-------”;
//the city you want the weather for
String location= “London,UK”;
int status = WL_IDLE_STATUS;
char server = “api.openweathermap.org”;
WiFiClient client;
void setup() {
//Initialize serial and wait for port to open:
Serial.begin(9600);
// attempt to connect to Wifi network:
while (status != WL_CONNECTED) {
Serial.print(“Attempting to connect to SSID: “);
Serial.println(ssid);
status = WiFi.begin(ssid);
//use the line below if your network is protected by wpa password
status = WiFi.begin(ssid, pass);
// wait 10 seconds for connection:
delay(1000);
}
Serial.println(“Connected to wifi”);
}
void loop() {
getWeather();
delay(10000);
}
void getWeather() {
Serial.println(”\nStarting connection to server…”);
// if you get a connection, report back via serial:
if (client.connect(server, 80)) {
Serial.println(“connected to server”);
// Make a HTTP request:
client.print(“GET /data/2.5/forecast?”);
client.print(“q=”+location);
client.print("&appid="+apiKey);
client.print("&cnt=3");
client.println("&units=metric");
client.println(“Host: api.openweathermap.org”);
client.println(“Connection: close”);
client.println();
} else {
Serial.println(“unable to connect”);
}}

Is there a button on the top labelled "Learn"?

A Google search for "wireless inventors shield" gives references to a Kickstarter project from 2013 that appears to be based on the RFD21733 key fob transceiver which does not use WiFi.