ForumsSearch



Search results for "Posted by rehan"
Author Message
rehan

Posted Aug 21, 2018 in: Sandbox for v3 API?
Score: 1
  • rehan
  • Posted: Aug 21, 2018
  • Score: 1
I've done this and it's working to some degree. However, I seem to often hit the error "Too many requests per token. Please get a new token.". I'm just running about 10 tests in my dev environment.

Am I hitting a lower limit because that account doesn't really use the website?
rehan

Score: 1
  • rehan
  • Posted: Aug 21, 2018
  • Score: 1
The spec for duetime (similarly for starttime) says:

duetime : A GMT unix timestamp for when the task is due. If the task does not have a time set, then this will be 0. If the task has a duetime without a duedate set, then the date component of this timestamp will be Jan 1, 1970. Times are stored as floating times. In other words, 10am is always 10am, regardless of your timezone. You can convert this timestamp to a GMT string and display the time component without worrying about timezones.

However, I find that if I make a task on the website with a duetime but no duedate, the API returns 0 for both duedate and duetime. starttime behaves the same way.

According to the spec above, I would expect 0 for duedate and "1/1/1970 + the time" for the duetime field.

On the iOS app, it won't allow you to make a task with a duetime and no duedate. If you sync the task from the website to the iOS app, you get a duetime and no duedate.

I'm not sure how the iOS app manages to do this if it's getting the same API responses that I am.
rehan

Posted Jul 02, 2018 in: Sandbox for v3 API?
Score: -1
  • rehan
  • Posted: Jul 02, 2018
  • Score: -1
Is there a sandbox for the API, e.g. with some temporary storage for running tests and doing development against?
I’d like to add some tests for my open source python API wrapper but obviously I don’t want to write my client ID into the tests or assume an initial Toodledo state.
rehan

Posted Nov 20, 2013 in: Application registration form broken?
Score: 0
  • rehan
  • Posted: Nov 20, 2013
  • Score: 0
I went to http://api.toodledo.com/2/account/doc_register.php to register a new application but the form submit just returns to the same page, without any indication of fields filled out incorrectly or any other problem.

Is it broken or is there some special trick?