An open API service indexing awesome lists of open source software.

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

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"] }
```