ankiweb-api 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ankiweb_api-1.0.0/.gitignore +148 -0
- ankiweb_api-1.0.0/LICENSE +21 -0
- ankiweb_api-1.0.0/PKG-INFO +574 -0
- ankiweb_api-1.0.0/README.md +536 -0
- ankiweb_api-1.0.0/action.yml +74 -0
- ankiweb_api-1.0.0/ankicli.py +214 -0
- ankiweb_api-1.0.0/ankiweb_auth.py +148 -0
- ankiweb_api-1.0.0/ankiweb_client.py +405 -0
- ankiweb_api-1.0.0/ankiweb_proto.py +372 -0
- ankiweb_api-1.0.0/ankiweb_schema.py +49 -0
- ankiweb_api-1.0.0/dist/index.js +44894 -0
- ankiweb_api-1.0.0/docs/API.md +120 -0
- ankiweb_api-1.0.0/docs/ENDPOINTS.md +133 -0
- ankiweb_api-1.0.0/make_test_addon.py +66 -0
- ankiweb_api-1.0.0/pyproject.toml +62 -0
- ankiweb_api-1.0.0/terminal_ankiweb.py +342 -0
- ankiweb_api-1.0.0/upload.py +195 -0
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
### Node template
|
|
2
|
+
# Logs
|
|
3
|
+
logs
|
|
4
|
+
*.log
|
|
5
|
+
npm-debug.log*
|
|
6
|
+
yarn-debug.log*
|
|
7
|
+
yarn-error.log*
|
|
8
|
+
lerna-debug.log*
|
|
9
|
+
.pnpm-debug.log*
|
|
10
|
+
|
|
11
|
+
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
12
|
+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
13
|
+
|
|
14
|
+
# Runtime data
|
|
15
|
+
pids
|
|
16
|
+
*.pid
|
|
17
|
+
*.seed
|
|
18
|
+
*.pid.lock
|
|
19
|
+
|
|
20
|
+
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
21
|
+
lib-cov
|
|
22
|
+
|
|
23
|
+
# Coverage directory used by tools like istanbul
|
|
24
|
+
coverage
|
|
25
|
+
*.lcov
|
|
26
|
+
|
|
27
|
+
# nyc test coverage
|
|
28
|
+
.nyc_output
|
|
29
|
+
|
|
30
|
+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
31
|
+
.grunt
|
|
32
|
+
|
|
33
|
+
# Bower dependency directory (https://bower.io/)
|
|
34
|
+
bower_components
|
|
35
|
+
|
|
36
|
+
# node-waf configuration
|
|
37
|
+
.lock-wscript
|
|
38
|
+
|
|
39
|
+
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
40
|
+
build/Release
|
|
41
|
+
|
|
42
|
+
# Dependency directories
|
|
43
|
+
node_modules/
|
|
44
|
+
jspm_packages/
|
|
45
|
+
|
|
46
|
+
# Snowpack dependency directory (https://snowpack.dev/)
|
|
47
|
+
web_modules/
|
|
48
|
+
|
|
49
|
+
# TypeScript cache
|
|
50
|
+
*.tsbuildinfo
|
|
51
|
+
|
|
52
|
+
# Optional npm cache directory
|
|
53
|
+
.npm
|
|
54
|
+
|
|
55
|
+
# Optional eslint cache
|
|
56
|
+
.eslintcache
|
|
57
|
+
|
|
58
|
+
# Optional stylelint cache
|
|
59
|
+
.stylelintcache
|
|
60
|
+
|
|
61
|
+
# Microbundle cache
|
|
62
|
+
.rpt2_cache/
|
|
63
|
+
.rts2_cache_cjs/
|
|
64
|
+
.rts2_cache_es/
|
|
65
|
+
.rts2_cache_umd/
|
|
66
|
+
|
|
67
|
+
# Optional REPL history
|
|
68
|
+
.node_repl_history
|
|
69
|
+
|
|
70
|
+
# Output of 'npm pack'
|
|
71
|
+
*.tgz
|
|
72
|
+
|
|
73
|
+
# Yarn Integrity file
|
|
74
|
+
.yarn-integrity
|
|
75
|
+
|
|
76
|
+
# dotenv environment variable files
|
|
77
|
+
.env
|
|
78
|
+
.env.development.local
|
|
79
|
+
.env.test.local
|
|
80
|
+
.env.production.local
|
|
81
|
+
.env.local
|
|
82
|
+
|
|
83
|
+
# parcel-bundler cache (https://parceljs.org/)
|
|
84
|
+
.cache
|
|
85
|
+
.parcel-cache
|
|
86
|
+
|
|
87
|
+
# Next.js build output
|
|
88
|
+
.next
|
|
89
|
+
out
|
|
90
|
+
|
|
91
|
+
# Nuxt.js build / generate output
|
|
92
|
+
.nuxt
|
|
93
|
+
dist
|
|
94
|
+
|
|
95
|
+
# Gatsby files
|
|
96
|
+
.cache/
|
|
97
|
+
# Comment in the public line in if your project uses Gatsby and not Next.js
|
|
98
|
+
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
99
|
+
# public
|
|
100
|
+
|
|
101
|
+
# vuepress build output
|
|
102
|
+
.vuepress/dist
|
|
103
|
+
|
|
104
|
+
# vuepress v2.x temp and cache directory
|
|
105
|
+
.temp
|
|
106
|
+
.cache
|
|
107
|
+
|
|
108
|
+
# Docusaurus cache and generated files
|
|
109
|
+
.docusaurus
|
|
110
|
+
|
|
111
|
+
# Serverless directories
|
|
112
|
+
.serverless/
|
|
113
|
+
|
|
114
|
+
# FuseBox cache
|
|
115
|
+
.fusebox/
|
|
116
|
+
|
|
117
|
+
# DynamoDB Local files
|
|
118
|
+
.dynamodb/
|
|
119
|
+
|
|
120
|
+
# TernJS port file
|
|
121
|
+
.tern-port
|
|
122
|
+
|
|
123
|
+
# Stores VSCode versions used for testing VSCode extensions
|
|
124
|
+
.vscode-test
|
|
125
|
+
|
|
126
|
+
# yarn v2
|
|
127
|
+
.yarn/cache
|
|
128
|
+
.yarn/unplugged
|
|
129
|
+
.yarn/build-state.yml
|
|
130
|
+
.yarn/install-state.gz
|
|
131
|
+
.pnp.*
|
|
132
|
+
|
|
133
|
+
# WebStorm
|
|
134
|
+
.idea
|
|
135
|
+
|
|
136
|
+
# GitHub Actions
|
|
137
|
+
!/dist/index.js
|
|
138
|
+
|
|
139
|
+
# Python / ankiweb-api additions
|
|
140
|
+
__pycache__/
|
|
141
|
+
*.pyc
|
|
142
|
+
*.ankiaddon
|
|
143
|
+
.sentry-native/
|
|
144
|
+
|
|
145
|
+
# test fixtures are intentionally tracked
|
|
146
|
+
!fixtures/*.ankiaddon
|
|
147
|
+
|
|
148
|
+
!fixtures/*.bin
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 CHAO TZU-HSIEN
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|