Comments (3)
I don't currently have plans to implement such a method, but I'd definitely consider merging a PR that added it! It sounds like that could be useful. :-)
from anki-sync-server.
:D
I'm not a python developper at all, but if you help me a little bit I can try
edit:
def list_tags_by_deck(self, col, req):
return col.tags.byDeckName(req.data['deckName'])
but tags https://github.com/dae/anki/blob/master/anki/tags.py don't have this kind of method for now :s
from anki-sync-server.
Yeah, I think you're going about this the right way! This is mostly about finding the Anki method that does it and then using it in AnkiServer. We're currently listing decks using col.decks.all()
, maybe there is another method under col.decks
that will list tags? Or a property on the deck object? Unfortunately, I don't have time to search through the code myself right now...
from anki-sync-server.
Related Issues (20)
- Issue when syncing media
- Who do you use for remote hosting?
- Solution for "no module named Anki" on Windows HOT 3
- Synchronization error between ankidroid and AnkiDesktop HOT 1
- Scheduler not work correct by restful api? HOT 1
- [Feature Request / Clarification] Headless mode? HOT 6
- [Feature Request] - RESTful add/remove/modify users & location change of dbs HOT 3
- Solution for "no module named anki" on Linux (Install From Source) HOT 1
- change dir debug error
- File "aqt\sync.py", line 348, in run File "aqt\sync.py", line 373, in _sync File "anki\sync.py", line 574, in hostKey File "anki\sync.py", line 553, in req File "anki\sync.py", line 489, in syncURL HOT 7
- how do i use my custom web to the personal anki server HOT 1
- Create a team of maintainers HOT 7
- “OperationalError:unable to open datebase file ” in win8.1
- ankiserverctl.py adduser admin FAIL. Missing parentheses in call to 'print'. HOT 3
- Got error when setuping anki server on Ubuntu
- Anki Droid sync error with private server based on CentOS7 HOT 2
- Archive this repo? HOT 6
- ankidroid and nginx SSLException while building HttpClient
- "Install from source" steps not working
- Is this still maintained? Python 3?
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 anki-sync-server.