Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gusenov/bookmate-sh
:books: Shell-скрипты для работы с сервисом для чтения книг Bookmate.
https://github.com/gusenov/bookmate-sh
bash-script bash-scripts bashscript bookmate curl shell-script shell-scripts shellscript wget
Last synced: 28 days ago
JSON representation
:books: Shell-скрипты для работы с сервисом для чтения книг Bookmate.
- Host: GitHub
- URL: https://github.com/gusenov/bookmate-sh
- Owner: gusenov
- Created: 2018-10-06T16:42:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-06T16:53:33.000Z (over 6 years ago)
- Last Synced: 2024-11-08T06:44:14.677Z (3 months ago)
- Topics: bash-script, bash-scripts, bashscript, bookmate, curl, shell-script, shell-scripts, shellscript, wget
- Language: Shell
- Homepage: https://bookmate.com
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Цитаты](/quotes/)
Количество цитат:
```bash
$ jq '.quotes | length' quotes-example.json
```Идентификаторы книг в которых сделаны цитаты:
```bash
jq --raw-output '' quotes-example.json | sort -u
```Заголовки книг в которых сделаны цитаты:
```bash
jq --raw-output '.quotes[].book.title' public-quotes.json | sort -u
```Создать HTML-файл книгами в которых сделаны цитаты:
```bash
jq --raw-output '.quotes[].book | "" + .title + " (" + (.quotes_count|tostring) + " всех цитат)
"' public-quotes.json | sort -u > books.html
```# [Книги](/books-private/)
Количество книг:
```bash
$ jq '.library_cards | length' public-books-example.json
```