{"action":"opened","issue":{"url":"https://api.github.com/repos/brucealdridge/VendAPI/issues/26","repository_url":"https://api.github.com/repos/brucealdridge/VendAPI","labels_url":"https://api.github.com/repos/brucealdridge/VendAPI/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/brucealdridge/VendAPI/issues/26/comments","events_url":"https://api.github.com/repos/brucealdridge/VendAPI/issues/26/events","html_url":"https://github.com/brucealdridge/VendAPI/issues/26","id":149357425,"number":26,"title":"Can't fetch and update products and inventory.","user":{"login":"Vishrootways","id":12792977,"avatar_url":"https://avatars.githubusercontent.com/u/12792977?v=3","gravatar_id":"","url":"https://api.github.com/users/Vishrootways","html_url":"https://github.com/Vishrootways","followers_url":"https://api.github.com/users/Vishrootways/followers","following_url":"https://api.github.com/users/Vishrootways/following{/other_user}","gists_url":"https://api.github.com/users/Vishrootways/gists{/gist_id}","starred_url":"https://api.github.com/users/Vishrootways/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vishrootways/subscriptions","organizations_url":"https://api.github.com/users/Vishrootways/orgs","repos_url":"https://api.github.com/users/Vishrootways/repos","events_url":"https://api.github.com/users/Vishrootways/events{/privacy}","received_events_url":"https://api.github.com/users/Vishrootways/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-19T06:04:53Z","updated_at":"2016-04-19T06:04:53Z","closed_at":null,"body":"Hi,\r\n\r\nI have set up your this code to localhost and after setup got following error. Can you please tell us what i did't wrong?\r\n\r\nFatal error: Uncaught exception 'VendAPI\\Exception' with message 'Error: Recieved null result from API' in D:\\xampp\\htdocs\\Drake\\Source\\VendAPI-master\\VendAPI-master\\src\\VendAPI\\VendAPI.php:320 Stack trace: #0 D:\\xampp\\htdocs\\Drake\\Source\\VendAPI-master\\VendAPI-master\\src\\VendAPI\\VendAPI.php(207): VendAPI\\VendAPI->_request('/api/products') #1 D:\\xampp\\htdocs\\Drake\\Source\\VendAPI-master\\VendAPI-master\\src\\VendAPI\\VendAPI.php(108): VendAPI\\VendAPI->apiGetProducts('') #2 D:\\xampp\\htdocs\\Drake\\Source\\VendAPI-master\\VendAPI-master\\example.php(9): VendAPI\\VendAPI->getProducts() #3 {main} thrown in D:\\xampp\\htdocs\\Drake\\Source\\VendAPI-master\\VendAPI-master\\src\\VendAPI\\VendAPI.php on line 320\r\n\r\nI want to update product inventory by API to vend but don't understand how to do. Please help.\r\n\r\nThanks,\r\nVish"}}