canvas-api icon indicating copy to clipboard operation
canvas-api copied to clipboard

Results 8 canvas-api issues
Sort by recently updated
recently updated
newest added

Well, when i received that message I had to look at the source code. I think we can do it more user friendly

I am trying to make canvas-api work on Windows but I get the following error: C:/Ruby22/lib/ruby/gems/2.2.0/gems/canvas-api-1.1.1/lib/canvas-api.rb:120:in `retrieve_response': invalid JSON (Canvas::ApiError) from C:/Ruby22/lib/ruby/gems/2.2.0/gems/canvas-api-1.1.1/lib/canvas-api.rb:145:in`get' from courses.rb:17:in `' What could be wrong?

I noticed that the following code sometimes listed all the users in the course instead of only the users in the section (sid is section id and aid is assignment...

(refer https://github.com/typhoeus/typhoeus/blob/master/README.md#sending-params-in-the-body-with-put) Looks to me like it fixes #7

This resolves #6, tests passed, might be a bit hacky if you want something more robust instead

I have more than 10 terms and looking at the raw returns in a rest client the 'next' and 'last' links are being returned. I can manually use them but...

I was using 1.0 till a couple days ago. After updating lines like below stopped having any effect and the attributes are not changed. Using a REST tester I can...

I'm trying to call the update courses API https://canvas.instructure.com/doc/api/courses.html#method.courses.batch_update It needs a courses_id[](array) param... but because the clean_params doesn't yet handle array values (see note at https://github.com/whitmer/canvas-api/blob/master/lib/canvas-api.rb#L177) I'm trying to...