Comments (3)
This same issue also applies to courses. When you query JSON, by default it will only return 10 of them. A fix I've been using is appending ?per_page=100 when calling get_json. For example, my instructure_api.py line 77 currently looks like this: return self.get_json(u"/api/v1/folders/%s/files?per_page=100" % folder_id)
. If you want to get more than 100 I think you have to query multiple times. There's probably a more elegant solution to this than what I came up with, I haven't had time to come up with anything more as it's been a busy semester.
from canvassync.
Ah, very helpful, thank you! This is a decent enough workaround that I can get back to using the tool for the rest of the semester until one of us has time to fix it :)
from canvassync.
I have not been able to work on this project for quite some time, did any of you come up with a better solution?
from canvassync.
Related Issues (20)
- String indicies must be integers HOT 12
- PyCrypto is dead and should switch to pycryptodome HOT 1
- Users allowed to rename courses update seems to be not working HOT 2
- TypeError: expected string or bytes-like object HOT 1
- Remove invalid characters from file and folder names HOT 3
- TypeError: write() argument must be str, not None HOT 1
- KeyError: 'course_code' HOT 6
- Images for README.md
- Long Filename Error HOT 1
- Units with "/" in the course name won't sync HOT 2
- validate_domain unsupported languages HOT 1
- Any non-english canvas site is invalid
- TypeError: Unicode-objects must be encoded before hashing HOT 1
- sync more than one Canvas account
- new files with repeated names do not sync
- Trouble Installing Via Pip
- Two way sync?
- Unicode Encode Error
- Skips one course
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canvassync.