ok so I found a thread where someone put this as an option;
//$pin = readline("Pin: ");
$handle = fopen ("
php://stdin","r");
$pin = rtrim(fgets($handle));
I tried that but ended up with a heap of unauthorised errors!
'headers_sent' => string 'GET /oauth1/access_token/v1 HTTP/1.1
User-Agent: PECL-OAuth/1.2.3
Host: api.shapeways.com
Accept: */*
Authorization: OAuth oauth_consumer_key="I removed what was in here",oauth_signature_method="HMAC-SHA1",oauth_nonce="I removed what was in here",oauth_timestamp="1440132916",oauth_version="1.0",oauth_token= "I removed what was in here",oauth_signature="K2Yw6frcQBHvejsgbP9Xb0nCj3Q%3D"' (length=418)
'headers_recv' => string 'HTTP/1.1 401 Unauthorized
I feel like I am close, but just something minor impacting me here.