{"issue":{"milestone":null,"user":{"id":306331,"login":"nidhis","url":"https://api.github.com/users/nidhis","avatar_url":"https://secure.gravatar.com/avatar/d1d1409ea40fa5dcd9bdaed766d9436b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d1d1409ea40fa5dcd9bdaed766d9436b"},"created_at":"2011-11-04T12:45:07Z","title":"Issues in API integration","state":"open","updated_at":"2011-12-18T18:50:50Z","labels":[],"id":2143425,"html_url":"https://github.com/davereid/toggl-php-sdk/issues/3","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"Hi,\r\nWe are working for retailmicro.com and facing some issues in integrating and following up with Toggl API.\r\n\r\nWhen we try authenticate ourselves with the token, it returns nothing and creating cookies as we can see in browser cookies. It is not returning anything as shown on https://www.toggl.com/public/api\r\n{\r\n      \"data\": {\r\n          \"email\": \"johndoe@gmail.com\",\r\n          \"date_format\": \"%m/%d/%Y\",\r\n          \"new_time_entries_start_automatically\": true,\r\n          \"language\": \"en_US\",\r\n          \"api_token\": \"ffc3f3024ec5d40cee2e24d5ff023c12\",\r\n          \"fullname\": \"John Doe\",\r\n          \"time_entry_retention_days\": 9,\r\n          \"jquery_date_format\": \"m/d/Y\",\r\n          \"default_workspace_id\": 31366,\r\n          \"jquery_timeofday_format\": \"H:i\",\r\n          \"beginning_of_week\": 1,\r\n          \"id\": 42182,\r\n          \"timeofday_format\": \"%H:%M\"\r\n      },\r\n      \"related_data_updated_at\": \"2010-06-29T11:17:19+03:00\"\r\n}\r\n\r\nAlso, if after running the authentication code, we try to create client without sending any details, we were receiving error”Name cannot be blank”. But if we send name along with the request, we get blank response from the API without any confirmation and the client is not created.\r\n\r\nPlease let us know the issues or what else is required other than PEAR. \r\n\r\nOne more question, why is PEAR installation required?\r\n","number":3,"url":"https://api.github.com/repos/davereid/toggl-php-sdk/issues/3","comments":1,"assignee":null},"comment":{"user":{"id":62967,"login":"davereid","url":"https://api.github.com/users/davereid","avatar_url":"https://secure.gravatar.com/avatar/a4c7b4000e21a329a7855a29d4ac744f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a4c7b4000e21a329a7855a29d4ac744f"},"created_at":"2011-12-18T18:50:50Z","updated_at":"2011-12-18T18:50:50Z","id":3196179,"body":"PEAR is not required unless you are attempting to run the unit tests. It is not required to actually use the library.","url":"https://api.github.com/repos/davereid/toggl-php-sdk/issues/comments/3196179"},"action":"created"}