https://github.com/d0kur0/webm-api
JSON API for utility https://github.com/d0kur0/webm-grabber
https://github.com/d0kur0/webm-api
2ch 4chan golang webm-api webm-grabber
Last synced: 6 months ago
JSON representation
JSON API for utility https://github.com/d0kur0/webm-grabber
- Host: GitHub
- URL: https://github.com/d0kur0/webm-api
- Owner: d0kur0
- Created: 2020-01-23T18:40:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-11T23:54:59.000Z (over 1 year ago)
- Last Synced: 2025-07-08T19:15:53.992Z (12 months ago)
- Topics: 2ch, 4chan, golang, webm-api, webm-grabber
- Language: Go
- Homepage:
- Size: 148 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WEBM API
```
WEBM-API: Web server realisation for grabbing and share media from image-boards
Usage:
webm-pwa [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
init Init base configuration
start Start http server
version Print the version number of webm-api
Flags:
--config string config file (default is $CWD/.webm-pwa.json | $HOME/.webm-pwa.json)
-h, --help help for webm-pwa
Use "webm-pwa [command] --help" for more information about a command.
```
## Installation
// TODO
## HTTP Endpoints:
#### Get current server grabber schema: [request type: GET]
http://localhost:3000/schema
#### Get all grabbed files: [request type: GET]
http://localhost:3000/files
#### Get grabbed files by specific vendor and boards: [request type: POST]
http://localhost:3000/filesByCondition
This request need body with condition struct:
```json
{ "": ["", ""] }
```
for example:
```json
{ "2ch": ["b", "media", "vg"], "4chan": ["b"] }
```