How can I convert this Ruby Gem to PHP?
token = "your_nypl_api_token"
client = NyplRepo::Client.new(token)
```
```
token = "your_nypl_api_token"
options = {:debug => true, :server_url => "http://api.repo.nypl.org/api/v1"}
client = client = NyplRepo::Client.new(token, options)
Also
url = "http://api.repo.nypl.org/api/v1/items/8568ccd0-c614-012f-1d74-58d385a7bc34.xml"
uri = URI.parse(url)
http = Net::HTTP.new(uri.host, uri.port)
headers = { "Authorization" => "Token token=XXXXXX" }
request = Net::HTTP::Get.new(uri.request_uri, headers)
response = http.request(request)
@response = response.body
@response = response.body
Regards