Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues in API integration #3

Open
nidhis opened this issue Nov 4, 2011 · 1 comment
Open

Issues in API integration #3

nidhis opened this issue Nov 4, 2011 · 1 comment

Comments

@nidhis
Copy link

nidhis commented Nov 4, 2011

Hi,
We are working for retailmicro.com and facing some issues in integrating and following up with Toggl API.

When 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
{
"data": {
"email": "[email protected]",
"date_format": "%m/%d/%Y",
"new_time_entries_start_automatically": true,
"language": "en_US",
"api_token": "[Edit: API token removed]",
"fullname": "John Doe",
"time_entry_retention_days": 9,
"jquery_date_format": "m/d/Y",
"default_workspace_id": 31366,
"jquery_timeofday_format": "H:i",
"beginning_of_week": 1,
"id": 42182,
"timeofday_format": "%H:%M"
},
"related_data_updated_at": "2010-06-29T11:17:19+03:00"
}

Also, 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.

Please let us know the issues or what else is required other than PEAR.

One more question, why is PEAR installation required?

@davereid
Copy link
Owner

PEAR is not required unless you are attempting to run the unit tests. It is not required to actually use the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants